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 | ||
Handle the "wait" chunk (WAIT). These are sent up when the client is waiting for something, e.g. for a debugger to attach.
Summary
Fields | |
|---|---|
public
static
final
int |
CHUNK_WAIT
|
Public methods | |
|---|---|
void
|
clientDisconnected(ClientImpl client)
Client went away. |
void
|
clientReady(ClientImpl client)
Client is ready. |
void
|
handleChunk(ClientImpl client, int type, ByteBuffer data, boolean isReply, int msgId)
Chunk handler entry point. |
static
void
|
register(MonitorThread mt)
Register for the packets we expect to get from the client. |
Fields
CHUNK_WAIT
public static final int CHUNK_WAIT
Public methods
clientDisconnected
public void clientDisconnected (ClientImpl client)
Client went away.
| Parameters | |
|---|---|
client |
ClientImpl |
clientReady
public void clientReady (ClientImpl client)
Client is ready.
| Parameters | |
|---|---|
client |
ClientImpl |
handleChunk
public void handleChunk (ClientImpl client, int type, ByteBuffer data, boolean isReply, int msgId)
Chunk handler entry point.
| Parameters | |
|---|---|
client |
ClientImpl |
type |
int |
data |
ByteBuffer |
isReply |
boolean |
msgId |
int |
register
public static void register (MonitorThread mt)
Register for the packets we expect to get from the client.
| Parameters | |
|---|---|
mt |
MonitorThread |