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