sdt.mediator
Class SessionManager

java.lang.Object
  extended by sdt.mediator.SessionManager

public abstract class SessionManager
extends java.lang.Object

This is the entry point into the SDT Model.


Constructor Summary
SessionManager()
           
 
Method Summary
static ISessionManager connect(java.lang.String configfile, ISessionManagerClient client)
          connects to a session manager, and registers the application as a client.
static void disconnect()
          disconnects from the remote session manager.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionManager

public SessionManager()
Method Detail

connect

public static final ISessionManager connect(java.lang.String configfile,
                                            ISessionManagerClient client)
                                     throws java.rmi.RemoteException,
                                            java.lang.Exception
connects to a session manager, and registers the application as a client.

Parameters:
configfile - is Java properties file with configuration information.
client - is a class meeting the client interface
Returns:
the return value is the session manager used by the application
Throws:
java.rmi.RemoteException
java.lang.Exception

disconnect

public static final void disconnect()
disconnects from the remote session manager. Drops all active sessions and bubbles.