HandleAppName
public
final
class
HandleAppName
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.HandleAppName | ||
Processar o bloco "nome do app" (APNM).
Resumo
Campos | |
|---|---|
public
static
final
int |
CHUNK_APNM
|
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_APNM
public static final int CHUNK_APNM
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 |