HandleWait

public final class HandleWait
extends ChunkHandler

java.lang.Object
   ↳ com.android.tradefed.device.server.jdwp.JdwpInterceptor
     ↳ com.android.tradefed.device.server.jdwp.chunkhandler.ChunkHandler
       ↳ com.android.tradefed.device.server.jdwp.chunkhandler.HandleWait


处理“等待”块 (WAIT)。当客户端正在等待某些内容时(例如等待调试器连接),会发送这些事件。

摘要

字段

public static final int CHUNK_WAIT

公共方法

void clientDisconnected(ClientImpl client)

客户端已消失。

void clientReady(ClientImpl client)

客户端已准备就绪。

void handleChunk(ClientImpl client, int type, ByteBuffer data, boolean isReply, int msgId)

块处理程序入口点。

static void register(MonitorThread mt)

注册我们预期会从客户端收到的数据包。

字段

CHUNK_WAIT

public static final int CHUNK_WAIT

公共方法

clientDisconnected

public void clientDisconnected (ClientImpl client)

客户端已关闭。

参数
client ClientImpl

clientReady

public void clientReady (ClientImpl client)

客户端已准备就绪。

参数
client ClientImpl

handleChunk

public void handleChunk (ClientImpl client, 
                int type, 
                ByteBuffer data, 
                boolean isReply, 
                int msgId)

块处理程序入口点。

参数
client ClientImpl

type int

data ByteBuffer

isReply boolean

msgId int

注册

public static void register (MonitorThread mt)

注册我们预期会从客户端收到的数据包。

参数
mt MonitorThread