@ServiceHandler(RequestCmd.CHECK_JOB) public void checkJob(DataInputX din, DataOutputX dout, boolean login) throws IOException { MapPack param = (MapPack) din.readPack(); long session = param.getLong("session"); RemoteControl control = RemoteControlManager.getCommand(session); if (control != null) { TextPack t = new TextPack(); t.text = control.commnad(); dout.writeByte(TcpFlag.HasNEXT); dout.writePack(t); dout.writeByte(TcpFlag.HasNEXT); dout.writePack(control.param()); } }