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
 void abort()
          Cause connection and all activity to be aborted and all resources to be released.
 String getSessionId()
           
 Action handle(AtmosphereRequest request, AtmosphereResponse response, SocketIOSession session)
           
 
Methods inherited from interface org.atmosphere.socketio.SocketIOOutbound
close, disconnect, sendMessage, sendMessage, sendMessage
 

Method Detail

handle

Action handle(AtmosphereRequest request,
              AtmosphereResponse response,
              SocketIOSession session)
              throws IOException
Parameters:
request -
response -
session -
Returns:
Throws:
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

String getSessionId()
Returns:


Copyright © 2012. All Rights Reserved.