HandleNativeHeap
public
final
class
HandleNativeHeap
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.HandleNativeHeap | ||
Handle thread status updates.
Summary
Fields | |
|---|---|
public
static
final
int |
CHUNK_NHEN
|
public
static
final
int |
CHUNK_NHGT
|
public
static
final
int |
CHUNK_NHSG
|
public
static
final
int |
CHUNK_NHST
|
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
|
sendNHGT(ClientImpl client)
Send an NHGT (Native Thread GeT) request to the client. |
Fields
CHUNK_NHEN
public static final int CHUNK_NHEN
CHUNK_NHGT
public static final int CHUNK_NHGT
CHUNK_NHSG
public static final int CHUNK_NHSG
CHUNK_NHST
public static final int CHUNK_NHST
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 |
sendNHGT
public static void sendNHGT (ClientImpl client)
Send an NHGT (Native Thread GeT) request to the client.
| Parameters | |
|---|---|
client |
ClientImpl |