protocolManager.sendJsonAnswer(asyncCtx,
JsonRpcResponse.newError(code, description, request.getId()));
}
private void pushErrorEvent(int code, String description) {
publishControlEvent(new ControlEvent(
JsonRpcConstants.EVENT_SESSION_ERROR, code, description));
}