TaskBean API
0.5

glogic.jthin.app
Class ClientSessionMgr

java.lang.Object
  extended byglogic.jthin.app.ClientSessionMgr

public class ClientSessionMgr
extends java.lang.Object

Singleton holding products session and context info.

Author:
Sam Taha

Method Summary
 long getActualExpireWindow()
          This maybe less than what the user requests if the server has set limits. 0 means no limit Server-side will enforce this but client should reference this for keepalives and other releated uses.
 ClientContext getClientContext()
           
 EnvStatusInfo getEnvStatusInfo()
           
static ClientSessionMgr getInstance()
           
 java.lang.String getSessionID()
           
 void invalidateClientSession()
           
 boolean isValidSession()
           
 void setClientSession(ClientSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ClientSessionMgr getInstance()

setClientSession

public void setClientSession(ClientSession session)

getClientContext

public ClientContext getClientContext()

invalidateClientSession

public void invalidateClientSession()

isValidSession

public boolean isValidSession()

getSessionID

public java.lang.String getSessionID()
Returns:
null if no session available.

getEnvStatusInfo

public EnvStatusInfo getEnvStatusInfo()

getActualExpireWindow

public long getActualExpireWindow()
This maybe less than what the user requests if the server has set limits. 0 means no limit Server-side will enforce this but client should reference this for keepalives and other releated uses.


TaskBean API
0.5

Copyright © Grand Logic, Inc. All Rights Reserved.