public final class EventPacket extends PtpIpPacket
PtpIpPacket.Type
Constructor and Description |
---|
EventPacket(UINT16 eventCode,
UINT32 transactionID) |
EventPacket(UINT16 eventCode,
UINT32 transactionID,
UINT32 p1) |
EventPacket(UINT16 eventCode,
UINT32 transactionID,
UINT32 p1,
UINT32 p2) |
EventPacket(UINT16 eventCode,
UINT32 transactionID,
UINT32 p1,
UINT32 p2,
UINT32 p3) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
UINT16 |
getEventCode() |
UINT32 |
getP1() |
UINT32 |
getP2() |
UINT32 |
getP3() |
UINT32 |
getTransactionID() |
int |
hashCode() |
static EventPacket |
read(PtpInputStream pis) |
java.lang.String |
toString() |
bytes, getPayload, getType
public UINT16 getEventCode()
public UINT32 getTransactionID()
public UINT32 getP1()
public UINT32 getP2()
public UINT32 getP3()
public static EventPacket read(PtpInputStream pis) throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class PtpIpPacket
public int hashCode()
hashCode
in class PtpIpPacket
public java.lang.String toString()
toString
in class PtpIpPacket