Package org.atmosphere.socketio
Interface SocketIOWebSocketSessionWrapper
-
- All Superinterfaces:
SocketIOOutbound,SocketIOSessionOutbound
- All Known Implementing Classes:
WebSocketTransport.SocketIOWebSocketSessionWrapperImpl
public interface SocketIOWebSocketSessionWrapper extends SocketIOSessionOutbound
- Author:
- Sebastien Dionne : sebastien.dionne@gmail.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SocketIOSessiongetSession()voidinitiated(boolean initialed)booleanisInitiated()voidonDisconnect()voidonMessage(byte frame, byte[] data, int offset, int length)voidonMessage(byte frame, java.lang.String message)voidsetWebSocket(org.atmosphere.websocket.WebSocket websocket)org.atmosphere.websocket.WebSocketwebSocket()-
Methods inherited from interface org.atmosphere.socketio.SocketIOOutbound
close, disconnect, sendMessage, sendMessage, sendMessage
-
Methods inherited from interface org.atmosphere.socketio.SocketIOSessionOutbound
abort, getSessionId, handle
-
-
-
-
Method Detail
-
getSession
SocketIOSession getSession()
- Returns:
-
onDisconnect
void onDisconnect()
-
onMessage
void onMessage(byte frame, java.lang.String message)- Parameters:
frame-message-
-
onMessage
void onMessage(byte frame, byte[] data, int offset, int length)- Parameters:
frame-data-offset-length-
-
isInitiated
boolean isInitiated()
- Returns:
-
webSocket
org.atmosphere.websocket.WebSocket webSocket()
- Returns:
-
setWebSocket
void setWebSocket(org.atmosphere.websocket.WebSocket websocket)
- Parameters:
websocket-
-
initiated
void initiated(boolean initialed)
- Parameters:
initialed-
-
-