public final class InitCommandRequestPacket extends PtpIpPacket
PtpIpPacket.Type
Constructor and Description |
---|
InitCommandRequestPacket(java.util.UUID guid,
java.lang.String name,
UINT32 protocolVersion) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.UUID |
getGUID() |
java.lang.String |
getName() |
UINT32 |
getProtocolVersion() |
int |
hashCode() |
static InitCommandRequestPacket |
read(PtpInputStream pis) |
java.lang.String |
toString() |
bytes
public InitCommandRequestPacket(java.util.UUID guid, java.lang.String name, UINT32 protocolVersion)
public static InitCommandRequestPacket read(PtpInputStream pis) throws java.io.IOException
java.io.IOException
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