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 | ||
التعامل مع جزء "hello" (HELO) واكتشاف الميزات
ملخّص
الحقول | |
|---|---|
public
static
final
int |
CHUNK_FEAT
|
public
static
final
int |
CHUNK_HELO
|
الطُرق العامة | |
|---|---|
void
|
clientDisconnected(ClientImpl client)
تم إغلاق التطبيق. |
void
|
clientReady(ClientImpl client)
العميل جاهز. |
void
|
handleChunk(ClientImpl client, int type, ByteBuffer data, boolean isReply, int msgId)
نقطة دخول معالج الأجزاء |
static
void
|
register(MonitorThread mt)
تسجيل الحِزم التي نتوقّع تلقّيها من العميل |
static
void
|
sendFEAT(ClientImpl client)
أرسِل طلب FEAT إلى العميل. |
static
void
|
sendHELO(ClientImpl client, int serverProtocolVersion)
أرسِل طلب HELO إلى العميل. |
static
void
|
sendHelloCommands(ClientImpl client, int serverProtocolVersion)
يرسل أوامر من النوع HELLO إلى الجهاز الظاهري بعد إتمام عملية المصافحة بنجاح. |
الحقول
CHUNK_FEAT
public static final int CHUNK_FEAT
CHUNK_HELO
public static final int CHUNK_HELO
الطُرق العامة
clientDisconnected
public void clientDisconnected (ClientImpl client)
تم إغلاق التطبيق.
| المعلمات | |
|---|---|
client |
ClientImpl |
handleChunk
public void handleChunk (ClientImpl client, int type, ByteBuffer data, boolean isReply, int msgId)
نقطة دخول معالج الأجزاء
| المعلمات | |
|---|---|
client |
ClientImpl |
type |
int |
data |
ByteBuffer |
isReply |
boolean |
msgId |
int |
تسجيل
public static void register (MonitorThread mt)
تسجيل الحِزم التي نتوقّع تلقّيها من العميل
| المعلمات | |
|---|---|
mt |
MonitorThread |
sendFEAT
public static void sendFEAT (ClientImpl client)
أرسِل طلب FEAT إلى العميل.
| المعلمات | |
|---|---|
client |
ClientImpl |
sendHELO
public static void sendHELO (ClientImpl client, int serverProtocolVersion)
أرسِل طلب HELO إلى العميل.
| المعلمات | |
|---|---|
client |
ClientImpl |
serverProtocolVersion |
int |
sendHelloCommands
public static void sendHelloCommands (ClientImpl client, int serverProtocolVersion)
يرسل أوامر من النوع HELLO إلى الجهاز الظاهري بعد إتمام عملية المصافحة بنجاح.
| الرميات | |
|---|---|
|
IOException |