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」區塊 (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)

Chunk handler entry point.

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