return;
}
PubSubProtocol.PubSubRequest request = (PubSubProtocol.PubSubRequest) e.getMessage();
Handler handler = handlers.get(request.getType());
Channel channel = ctx.getChannel();
long txnId = request.getTxnId();
if (handler == null) {
sendErrorResponseToMalformedRequest(channel, txnId, "Request type " + request.getType().getNumber()
+ " unknown");
return;
}
handler.handleRequest(request, channel);
ServerStats.getInstance().incrementRequestsReceived();
}