org.atmosphere.socketio.transport
Class JSONPPollingTransport
java.lang.Object
org.atmosphere.socketio.transport.AbstractTransport
org.atmosphere.socketio.transport.XHRTransport
org.atmosphere.socketio.transport.JSONPPollingTransport
- All Implemented Interfaces:
- Transport
public class JSONPPollingTransport
- extends XHRTransport
- Author:
- Sebastien Dionne : sebastien.dionne@gmail.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRANSPORT_NAME
public static final String TRANSPORT_NAME
- See Also:
- Constant Field Values
JSONPPollingTransport
public JSONPPollingTransport(int bufferSize)
getName
public String getName()
- Returns:
- The name of the transport instance.
createHelper
protected JSONPPollingTransport.XHRPollingSessionHelper createHelper(SocketIOSession session)
- Description copied from class:
XHRTransport
- This method should only be called within the context of an active HTTP request.
- Specified by:
createHelper in class XHRTransport
connect
protected SocketIOSession connect(SocketIOSession session,
org.atmosphere.cpr.AtmosphereResourceImpl resource,
org.atmosphere.cpr.AtmosphereHandler atmosphereHandler,
SocketIOSessionFactory sessionFactory)
throws IOException
- Overrides:
connect in class XHRTransport
- Throws:
IOException
connect
protected SocketIOSession connect(org.atmosphere.cpr.AtmosphereResourceImpl resource,
org.atmosphere.cpr.AtmosphereHandler atmosphereHandler,
SocketIOSessionFactory sessionFactory)
throws IOException
- Overrides:
connect in class XHRTransport
- Throws:
IOException
Copyright © 2015. All Rights Reserved.