HandleAppName
public
final
class
HandleAppName
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.HandleAppName | ||
Xử lý khối "tên ứng dụng" (APNM).
Tóm tắt
Trường | |
|---|---|
public
static
final
int |
CHUNK_APNM
|
Phương thức công khai | |
|---|---|
void
|
clientDisconnected(ClientImpl client)
Ứng dụng đã thoát. |
void
|
clientReady(ClientImpl client)
Ứng dụng đã sẵn sàng. |
void
|
handleChunk(ClientImpl client, int type, ByteBuffer data, boolean isReply, int msgId)
Điểm truy cập của trình xử lý khối. |
static
void
|
register(MonitorThread mt)
Đăng ký các gói mà chúng ta dự kiến sẽ nhận được từ ứng dụng. |
Trường
CHUNK_APNM
public static final int CHUNK_APNM
Phương thức công khai
clientDisconnected
public void clientDisconnected (ClientImpl client)
Ứng dụng đã thoát.
| Tham số | |
|---|---|
client |
ClientImpl |
clientReady
public void clientReady (ClientImpl client)
Ứng dụng đã sẵn sàng.
| Tham số | |
|---|---|
client |
ClientImpl |
handleChunk
public void handleChunk (ClientImpl client, int type, ByteBuffer data, boolean isReply, int msgId)
Điểm truy cập của trình xử lý khối.
| Tham số | |
|---|---|
client |
ClientImpl |
type |
int |
data |
ByteBuffer |
isReply |
boolean |
msgId |
int |
đăng ký
public static void register (MonitorThread mt)
Đăng ký các gói mà chúng ta dự kiến sẽ nhận được từ ứng dụng.
| Tham số | |
|---|---|
mt |
MonitorThread |