public final class JdwpPacket
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
JDWP_HEADER_LEN |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Return the packet's ID.
|
java.nio.ByteBuffer |
getPayload()
Return a slice of the byte buffer, positioned past the JDWP header
to the start of the chunk header.
|
boolean |
is(int cmdSet,
int cmd) |
boolean |
isReply()
Returns "true" if this JDWP packet is tagged as a reply.
|
java.lang.String |
toString() |
public static final int JDWP_HEADER_LEN
public java.nio.ByteBuffer getPayload()
public boolean isReply()
public int getId()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean is(int cmdSet, int cmd)