ibspan.tss.agents.sha.session
Class SessionsMap
java.lang.Object
ibspan.tss.agents.sha.session.SessionsMap
public class SessionsMap
- extends Object
This class provides mapping from sessionID
into the
Session
object.
- Author:
- Maciej Gawinecki
- See Also:
Session
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionsMap
public SessionsMap()
getSession
public Session getSession(String sessionID)
- Returnes session bounded with the given sessionID.
- Parameters:
sessionID
- is id of the session
- Returns:
- session session matching the given id or
null
if
not found.
createSession
public Session createSession(String peerID)
- Creates session on the base of given peerID.
- Parameters:
peerID
- is ID of machine from which user connects with the system
- Returns:
- new session