Package org.atmosphere.socketio
Interface SocketIOSessionOutbound
-
- All Superinterfaces:
SocketIOOutbound
- All Known Subinterfaces:
SocketIOWebSocketSessionWrapper
- All Known Implementing Classes:
JSONPPollingTransport.XHRPollingSessionHelper,WebSocketTransport.SocketIOWebSocketSessionWrapperImpl,XHRPollingTransport.XHRPollingSessionHelper,XHRTransport.XHRSessionHelper
public interface SocketIOSessionOutbound extends SocketIOOutbound
- Author:
- Sebastien Dionne : sebastien.dionne@gmail.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidabort()Cause connection and all activity to be aborted and all resources to be released.java.lang.StringgetSessionId()org.atmosphere.cpr.Actionhandle(org.atmosphere.cpr.AtmosphereRequest request, org.atmosphere.cpr.AtmosphereResponse response, SocketIOSession session)-
Methods inherited from interface org.atmosphere.socketio.SocketIOOutbound
close, disconnect, sendMessage, sendMessage, sendMessage
-
-
-
-
Method Detail
-
handle
org.atmosphere.cpr.Action handle(org.atmosphere.cpr.AtmosphereRequest request, org.atmosphere.cpr.AtmosphereResponse response, SocketIOSession session) throws java.io.IOException- Parameters:
request-response-session-- Returns:
- Throws:
java.io.IOException
-
abort
void abort()
Cause connection and all activity to be aborted and all resources to be released. The handler is expected to call the session's onShutdown() when it is finished. The only session method that the handler can legally call after this is onShutdown();
-
getSessionId
java.lang.String getSessionId()
- Returns:
-
-