webSocketProcessor.close(webSocket, 1005);
}
@Override
protected void onReceivedFrame(WebSocket socket) throws IOException {
Frame frame = socket.readFrame();
if (webSocketProcessor != null) {
if (frame instanceof TextFrame) {
logger.trace("WebSocket.onReceivedFrame (TextFrame)");
webSocketProcessor.invokeWebSocketProtocol(webSocket, ((TextFrame) frame).getText());