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


Processe o bloco "wait" (WAIT). Eles são enviados quando o cliente está aguardando algo, por exemplo, a conexão de um depurador.

Resumo

Campos

public static final int CHUNK_WAIT

Métodos públicos

void clientDisconnected(ClientImpl client)

O cliente saiu.

void clientReady(ClientImpl client)

O cliente está pronto.

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

Ponto de entrada do gerenciador de partes.

static void register(MonitorThread mt)

Registre os pacotes que esperamos receber do cliente.

Campos

CHUNK_WAIT

public static final int CHUNK_WAIT

Métodos públicos

clientDisconnected

public void clientDisconnected (ClientImpl client)

O cliente saiu.

Parâmetros
client ClientImpl

clientReady

public void clientReady (ClientImpl client)

O cliente está pronto.

Parâmetros
client ClientImpl

handleChunk

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

Ponto de entrada do gerenciador de partes.

Parâmetros
client ClientImpl

type int

data ByteBuffer

isReply boolean

msgId int

registrar

public static void register (MonitorThread mt)

Registre os pacotes que esperamos receber do cliente.

Parâmetros
mt MonitorThread