MessageProcessTask.addFilter(new FiltrateTask()); //添加任务处理的过滤任务
PlayerManager.getInstance();
service = new IoServerImpl();
ProtocolHandler protocolGroup = service.buildProtocolGroup(4, new CmNetProtocolHandler(), new CmWapProtocolHandler());
Configure config = new Configure();
config.setAddress(new InetSocketAddress("127.0.0.1",8899));
config.setProtocolHandler(protocolGroup);
config.setIoHandler(new LogicHandler());