HandleExit
public
final
class
HandleExit
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.HandleExit | ||
Submit an exit request.
Summary
Fields | |
|---|---|
public
static
final
int |
CHUNK_EXIT
|
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. |
static
void
|
sendEXIT(ClientImpl client, int status)
Send an EXIT request to the client. |
Fields
CHUNK_EXIT
public static final int CHUNK_EXIT
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 |
sendEXIT
public static void sendEXIT (ClientImpl client, int status)
Send an EXIT request to the client.
| Parameters | |
|---|---|
client |
ClientImpl |
status |
int |