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


Handle the "app name" chunk (APNM).

Summary

Fields

public static final int CHUNK_APNM

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.

Fields

CHUNK_APNM

public static final int CHUNK_APNM

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