public class PtpIpPacket
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PtpIpPacket.Type |
| Constructor and Description |
|---|
PtpIpPacket(PtpIpPacket.Type type) |
PtpIpPacket(PtpIpPacket.Type type,
byte[] payload) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
bytes() |
boolean |
equals(java.lang.Object o) |
byte[] |
getPayload() |
PtpIpPacket.Type |
getType() |
int |
hashCode() |
java.lang.String |
toString() |
public PtpIpPacket(PtpIpPacket.Type type)
public PtpIpPacket(PtpIpPacket.Type type, byte[] payload)
public PtpIpPacket.Type getType()
public byte[] getPayload()
public final byte[] bytes()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object