org.atmosphere.socketio.transport
Class WebSocketTransport

java.lang.Object
  extended by org.atmosphere.socketio.transport.AbstractTransport
      extended by org.atmosphere.socketio.transport.WebSocketTransport
All Implemented Interfaces:
Transport

public class WebSocketTransport
extends AbstractTransport

Author:
Sebastien Dionne : sebastien.dionne@gmail.com, Jeanfrancois Arcand

Nested Class Summary
 class WebSocketTransport.SocketIOWebSocketSessionWrapperImpl
           
 
Field Summary
static String TRANSPORT_NAME
           
 
Fields inherited from class org.atmosphere.socketio.transport.AbstractTransport
POST_MESSAGE_RECEIVED, SESSION_KEY
 
Constructor Summary
WebSocketTransport()
           
 
Method Summary
 String getName()
           
 org.atmosphere.cpr.Action handle(org.atmosphere.cpr.AtmosphereResourceImpl resource, org.atmosphere.cpr.AtmosphereHandler atmosphereHandler, SocketIOSessionFactory sessionFactory)
           
 
Methods inherited from class org.atmosphere.socketio.transport.AbstractTransport
decodePostData, destroy, extractSessionId, extractString, isDisconnectRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSPORT_NAME

public static final String TRANSPORT_NAME
See Also:
Constant Field Values
Constructor Detail

WebSocketTransport

public WebSocketTransport()
Method Detail

getName

public String getName()
Returns:
The name of the transport instance.

handle

public org.atmosphere.cpr.Action handle(org.atmosphere.cpr.AtmosphereResourceImpl resource,
                                        org.atmosphere.cpr.AtmosphereHandler atmosphereHandler,
                                        SocketIOSessionFactory sessionFactory)
                                 throws IOException
Throws:
IOException


Copyright © 2014. All Rights Reserved.