HandleHello
public
final
class
HandleHello
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.HandleHello | ||
Processar o bloco "hello" (HELO) e a descoberta de recursos.
Resumo
Campos | |
|---|---|
public
static
final
int |
CHUNK_FEAT
|
public
static
final
int |
CHUNK_HELO
|
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. |
static
void
|
sendFEAT(ClientImpl client)
Envie uma solicitação FEAT ao cliente. |
static
void
|
sendHELO(ClientImpl client, int serverProtocolVersion)
Envie uma solicitação HELO ao cliente. |
static
void
|
sendHelloCommands(ClientImpl client, int serverProtocolVersion)
Envia comandos do tipo HELLO para a VM após um handshake bem-sucedido. |
Campos
CHUNK_FEAT
public static final int CHUNK_FEAT
CHUNK_HELO
public static final int CHUNK_HELO
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 |
sendFEAT
public static void sendFEAT (ClientImpl client)
Envie uma solicitação FEAT ao cliente.
| Parâmetros | |
|---|---|
client |
ClientImpl |
sendHELO
public static void sendHELO (ClientImpl client, int serverProtocolVersion)
Envie uma solicitação HELO ao cliente.
| Parâmetros | |
|---|---|
client |
ClientImpl |
serverProtocolVersion |
int |
sendCommandosHello
public static void sendHelloCommands (ClientImpl client, int serverProtocolVersion)
Envia comandos do tipo HELLO para a VM após um handshake bem-sucedido.
| Gera | |
|---|---|
|
IOException |