JdwpProtocol

public class JdwpProtocol
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.server.jdwp.JdwpProtocol


摘要

公用建構函式

JdwpProtocol()

公用方法

void incoming(JdwpPacket packet, JdwpAgent target)
long readFieldId(ByteBuffer buffer)
long readMethodId(ByteBuffer buffer)
long readObjectId(ByteBuffer buffer)
long readRefTypeId(ByteBuffer buffer)
String readString(ByteBuffer buffer)

公用建構函式

JdwpProtocol

public JdwpProtocol ()

公用方法

來電

public void incoming (JdwpPacket packet, 
                JdwpAgent target)

參數
packet JdwpPacket

target JdwpAgent

readFieldId

public long readFieldId (ByteBuffer buffer)

參數
buffer ByteBuffer

傳回
long

readMethodId

public long readMethodId (ByteBuffer buffer)

參數
buffer ByteBuffer

傳回
long

readObjectId

public long readObjectId (ByteBuffer buffer)

參數
buffer ByteBuffer

傳回
long

readRefTypeId

public long readRefTypeId (ByteBuffer buffer)

參數
buffer ByteBuffer

傳回
long

readString

public String readString (ByteBuffer buffer)

參數
buffer ByteBuffer

傳回
String