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 | ||
Gérez le bloc "hello" (HELO) et la découverte des fonctionnalités.
Résumé
Champs | |
|---|---|
public
static
final
int |
CHUNK_FEAT
|
public
static
final
int |
CHUNK_HELO
|
Méthodes publiques | |
|---|---|
void
|
clientDisconnected(ClientImpl client)
Le client est parti. |
void
|
clientReady(ClientImpl client)
Le client est prêt. |
void
|
handleChunk(ClientImpl client, int type, ByteBuffer data, boolean isReply, int msgId)
Point d'entrée du gestionnaire de blocs. |
static
void
|
register(MonitorThread mt)
Enregistrez les paquets que vous prévoyez de recevoir du client. |
static
void
|
sendFEAT(ClientImpl client)
Envoyez une requête FEAT au client. |
static
void
|
sendHELO(ClientImpl client, int serverProtocolVersion)
Envoyez une requête HELO au client. |
static
void
|
sendHelloCommands(ClientImpl client, int serverProtocolVersion)
Envoie des commandes de type HELLO à la VM après une connexion réussie. |
Champs
CHUNK_FEAT
public static final int CHUNK_FEAT
CHUNK_HELO
public static final int CHUNK_HELO
Méthodes publiques
clientDisconnected
public void clientDisconnected (ClientImpl client)
Le client est parti.
| Paramètres | |
|---|---|
client |
ClientImpl |
clientReady
public void clientReady (ClientImpl client)
Le client est prêt.
| Paramètres | |
|---|---|
client |
ClientImpl |
handleChunk
public void handleChunk (ClientImpl client, int type, ByteBuffer data, boolean isReply, int msgId)
Point d'entrée du gestionnaire de blocs.
| Paramètres | |
|---|---|
client |
ClientImpl |
type |
int |
data |
ByteBuffer |
isReply |
boolean |
msgId |
int |
s'inscrire
public static void register (MonitorThread mt)
Enregistrez les paquets que vous prévoyez de recevoir du client.
| Paramètres | |
|---|---|
mt |
MonitorThread |
sendFEAT
public static void sendFEAT (ClientImpl client)
Envoyez une requête FEAT au client.
| Paramètres | |
|---|---|
client |
ClientImpl |
sendHELO
public static void sendHELO (ClientImpl client, int serverProtocolVersion)
Envoyez une requête HELO au client.
| Paramètres | |
|---|---|
client |
ClientImpl |
serverProtocolVersion |
int |
sendHelloCommands
public static void sendHelloCommands (ClientImpl client, int serverProtocolVersion)
Envoie des commandes de type HELLO à la VM après une connexion réussie.
| Génère | |
|---|---|
|
IOException |