HandleTest

public final class HandleTest
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.HandleTest


處理討論串狀態更新。

摘要

欄位

public static final int CHUNK_TEST

公用方法

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_TEST

public static final int CHUNK_TEST

公用方法

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