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, getPayload, getTypepublic InitCommandRequestPacket(java.util.UUID guid,
java.lang.String name,
UINT32 protocolVersion)
public java.util.UUID getGUID()
public java.lang.String getName()
public UINT32 getProtocolVersion()
public static InitCommandRequestPacket 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