org.atmosphere.socketio.transport
Class XHRTransport
java.lang.Object
org.atmosphere.socketio.transport.AbstractTransport
org.atmosphere.socketio.transport.XHRTransport
- All Implemented Interfaces:
- Transport
- Direct Known Subclasses:
- JSONPPollingTransport, XHRPollingTransport
public abstract class XHRTransport
- extends AbstractTransport
- Author:
- Sebastien Dionne : sebastien.dionne@gmail.com, Jeanfrancois Arcand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.atmosphere.socketio.transport.Transport |
getName |
XHRTransport
public XHRTransport(int bufferSize)
createHelper
protected abstract XHRTransport.XHRSessionHelper createHelper(SocketIOSession session)
- This method should only be called within the context of an active HTTP request.
connect
protected SocketIOSession connect(SocketIOSession session,
org.atmosphere.cpr.AtmosphereResourceImpl resource,
org.atmosphere.cpr.AtmosphereHandler atmosphereHandler,
SocketIOSessionFactory sessionFactory)
throws IOException
- Throws:
IOException
connect
protected SocketIOSession connect(org.atmosphere.cpr.AtmosphereResourceImpl resource,
org.atmosphere.cpr.AtmosphereHandler atmosphereHandler,
SocketIOSessionFactory sessionFactory)
throws IOException
- Throws:
IOException
handle
public org.atmosphere.cpr.Action handle(org.atmosphere.cpr.AtmosphereResourceImpl resource,
org.atmosphere.cpr.AtmosphereHandler atmosphereHandler,
SocketIOSessionFactory sessionFactory)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.