sdt.mediator
Interface ISessionManager


public interface ISessionManager

A Session Manager provides the ability to add new sessions


Method Summary
 Session addSession()
          create a new session.
 java.util.Set<Session> getSessions()
          get set of sessions being managed
 int numSessions()
          find out how many sessions are being managed
 

Method Detail

addSession

Session addSession()
                   throws SDTException
create a new session. The session is initially empty, i.e., it has no bubbles or triggers associated with it.

Returns:
newly created session
Throws:
SDTException

getSessions

java.util.Set<Session> getSessions()
                                   throws SDTException
get set of sessions being managed

Throws:
SDTException

numSessions

int numSessions()
                throws SDTException
find out how many sessions are being managed

Throws:
SDTException