public final class InitCommandAckPacket extends PtpIpPacket
PtpIpPacket.Type| Constructor and Description |
|---|
InitCommandAckPacket(UINT32 connectionNumber,
java.util.UUID guid,
java.lang.String name,
UINT32 protocolVersion) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
UINT32 |
getConnectionNumber() |
java.util.UUID |
getGUID() |
java.lang.String |
getName() |
UINT32 |
getProtocolVersion() |
int |
hashCode() |
static InitCommandAckPacket |
read(PtpInputStream pis) |
java.lang.String |
toString() |
bytes, getPayload, getTypepublic UINT32 getConnectionNumber()
public java.util.UUID getGUID()
public java.lang.String getName()
public UINT32 getProtocolVersion()
public static InitCommandAckPacket read(PtpInputStream pis) throws java.io.IOException
java.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class PtpIpPacketpublic int hashCode()
hashCode in class PtpIpPacketpublic java.lang.String toString()
toString in class PtpIpPacket