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
public static InitCommandAckPacket read(PtpInputStream pis) throws java.io.IOException
java.io.IOException
public UINT32 getConnectionNumber()
public java.util.UUID getGUID()
public java.lang.String getName()
public UINT32 getProtocolVersion()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object