org.atmosphere.socketio.transport
Class SocketIOSessionManagerImpl
java.lang.Object
org.atmosphere.socketio.transport.SocketIOSessionManagerImpl
- All Implemented Interfaces:
- SocketIOSessionFactory, SocketIOSessionManager
public class SocketIOSessionManagerImpl
- extends Object
- implements SocketIOSessionManager, SocketIOSessionFactory
- Author:
- Sebastien Dionne : sebastien.dionne@gmail.com
|
Field Summary |
static org.codehaus.jackson.map.ObjectMapper |
mapper
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mapper
public static final org.codehaus.jackson.map.ObjectMapper mapper
SocketIOSessionManagerImpl
public SocketIOSessionManagerImpl()
createSession
public SocketIOSession createSession(AtmosphereResourceImpl resource,
AtmosphereHandler inbound)
- Specified by:
createSession in interface SocketIOSessionFactory
- Returns:
getSession
public SocketIOSession getSession(String sessionId)
- Specified by:
getSession in interface SocketIOSessionFactory
- Returns:
setTimeout
public void setTimeout(long timeout)
- Specified by:
setTimeout in interface SocketIOSessionManager
getTimeout
public long getTimeout()
- Specified by:
getTimeout in interface SocketIOSessionManager
- Returns:
setHeartbeatInterval
public void setHeartbeatInterval(long interval)
- Specified by:
setHeartbeatInterval in interface SocketIOSessionManager
getHeartbeatInterval
public long getHeartbeatInterval()
- Specified by:
getHeartbeatInterval in interface SocketIOSessionManager
- Returns:
setRequestSuspendTime
public void setRequestSuspendTime(long suspendTime)
- Specified by:
setRequestSuspendTime in interface SocketIOSessionManager
getRequestSuspendTime
public long getRequestSuspendTime()
- Specified by:
getRequestSuspendTime in interface SocketIOSessionManager
- Returns:
Copyright © 2014. All Rights Reserved.