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)

핸드셰이크가 완료된 후 VM에 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

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

register

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)

핸드셰이크가 완료된 후 VM에 HELLO 유형 명령어를 전송합니다.

생성 값
IOException