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, getType
public 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.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