use of com.tvd12.ezyfoxserver.socket.EzySocketRequest in project ezyfox-server by youngmonkeys.
the class EzySocketRequestHandler method processRequest.
private void processRequest(EzySocketRequest request) throws Exception {
try {
EzyArray data = request.getData();
EzySession session = request.getSession();
EzySocketDataHandlerGroup handlerGroup = getDataHandlerGroup(session);
if (handlerGroup != null) {
handlerGroup.fireChannelRead(request.getCommand(), data);
} else {
logger.warn("has no handler group with session: {}, drop request: {}", session, request);
}
} finally {
request.release();
}
}
Aggregations