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


טיפול בחלק 'שלום' (HELO) וזיהוי תכונות.

סיכום

שדות

public static final int CHUNK_FEAT

public static final int CHUNK_HELO

‫methods ציבוריים

void clientDisconnected(ClientImpl client)

הלקוח יצא.

void clientReady(ClientImpl client)

הלקוח מוכן.

void handleChunk(ClientImpl client, int type, ByteBuffer data, boolean isReply, int msgId)

נקודת כניסה ל-Chunk handler.

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 למכונת ה-VM אחרי לחיצת יד תקינה.

שדות

CHUNK_FEAT

public static final int CHUNK_FEAT

CHUNK_HELO

public static final int CHUNK_HELO

‫methods ציבוריים

clientDisconnected

public void clientDisconnected (ClientImpl client)

הלקוח יצא.

פרמטרים
client ClientImpl

clientReady

public void clientReady (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 למכונת ה-VM אחרי לחיצת יד תקינה.

זריקות
IOException