HandleExit

public final class HandleExit
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.HandleExit


提交退出请求。

摘要

字段

public static final int CHUNK_EXIT

公共方法

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 sendEXIT(ClientImpl client, int status)

向客户端发送退出请求。

字段

CHUNK_EXIT

public static final int CHUNK_EXIT

公共方法

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

sendEXIT

public static void sendEXIT (ClientImpl client, 
                int status)

向客户端发送退出请求。

参数
client ClientImpl

status int