org.richfaces.application.push.impl
Class AbstractSession
java.lang.Object
org.richfaces.application.push.impl.AbstractSession
- All Implemented Interfaces:
- org.richfaces.application.push.Session
- Direct Known Subclasses:
- SessionImpl
public abstract class AbstractSession
- extends Object
- implements org.richfaces.application.push.Session
- Author:
- Nick Belaevski
Constructor Summary |
AbstractSession(String id,
org.richfaces.application.push.SessionManager sessionManager)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.richfaces.application.push.Session |
getFailedSubscriptions, getSuccessfulSubscriptions, subscribe |
AbstractSession
public AbstractSession(String id,
org.richfaces.application.push.SessionManager sessionManager)
connect
public void connect(org.richfaces.application.push.Request request)
throws Exception
- Specified by:
connect
in interface org.richfaces.application.push.Session
- Throws:
Exception
getRequest
protected org.richfaces.application.push.Request getRequest()
processConnect
protected void processConnect(org.richfaces.application.push.Request request)
throws Exception
- Throws:
Exception
disconnect
public void disconnect()
throws Exception
- Specified by:
disconnect
in interface org.richfaces.application.push.Session
- Throws:
Exception
processDisconnect
protected void processDisconnect()
throws Exception
- Throws:
Exception
getLastAccessedTime
public long getLastAccessedTime()
- Specified by:
getLastAccessedTime
in interface org.richfaces.application.push.Session
getMaxInactiveInterval
public int getMaxInactiveInterval()
- Specified by:
getMaxInactiveInterval
in interface org.richfaces.application.push.Session
getId
public String getId()
- Specified by:
getId
in interface org.richfaces.application.push.Session
invalidate
public void invalidate()
- Specified by:
invalidate
in interface org.richfaces.application.push.Session
destroy
public void destroy()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.