Atmosphere/atmosphere — Issue #78: WebSocket.Event broadcasted as String.
Author: survivant
Created: 2011-11-25 14:56:38+00:00
State: open

On a close.

webSocketProcessor.notifyListener(new WebSocketEventListener.WebSocketEvent("", CLOSE, webSocketProcessor.webSocket()));

a WebSocketEventListener.WebSocketEvent is created.. but it's converted as a String when this event is broadcasted to the AtmopshereHandler.onStateChange.

AtmosphereResourceEventImpl{isCancelled=false,
isResumedOnTimeout=false,
throwable=null,
message=[B@13a0067,
resource=AtmosphereResourceImpl{, hasCode-1129813192,
action=org.atmosphere.cpr.AtmosphereServlet$Action@1282707,
broadcaster=org.atmosphere.util.ExcludeSessionBroadcaster,
cometSupport=org.atmosphere.protocol.socketio.SocketIOCometSupport@11a6631,
serializer=null,
isInScope=true,
useWriter=true,
listeners=[org.atmosphere.protocol.socketio.SocketIOWebSocketEventListener@2b2cf8]}}