public void process(ByteBuffer buffer, Client sockector){		
		if(sockector.isHandShak()){// 已经握手处理				
			// 通过复杂的数据帧格式来传递数据
			parser(buffer,sockector);
		}else{// 进行握手处理
			String msg = CoderUtils.decode(buffer);
			if(MyStringUtil.isBlank(msg)){
				return;
			}
			
			log.info("the msg received: \r\n" + msg);
			
			if(sockector.isClient()){// 接收到本方客户端发送的握手响应包
				this.processClientHandShak(sockector, msg);// 处理客户端连接握手
			}else{
				HashMap<String,String> requestData = new HashMap<String,String>();
				sockector.addRequest(requestData);
				
				try{
					ClustersRequest requestInfo = parserRequest(msg);
					
					requestData.put(Constants.FILED_MSG, generateHandshake(requestInfo));
					requestData.put(Constants.HANDSHAKE, Constants.HANDSHAKE);
				}catch(UnsupportedEncodingException e){
					e.printStackTrace();
				}
			}			
		}
	}