All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jdce.impl.rmi.SessionSchedulerImpl

java.lang.Object
   |
   +----java.rmi.server.RemoteObject
           |
           +----java.rmi.server.RemoteServer
                   |
                   +----java.rmi.server.UnicastRemoteObject
                           |
                           +----jdce.impl.rmi.SessionSchedulerImpl

public class SessionSchedulerImpl
extends UnicastRemoteObject
implements RMISessionScheduler
Session Scheduler Implementation

Version:
0.5 20 April 1998
Author:
Shrideep Pallickara

Constructor Index

 o SessionSchedulerImpl()
Construct a transient object.
 o SessionSchedulerImpl(String)
Construct a persistently named object.

Method Index

 o createBahn(String, String)
 o destroyBahn(String, String)
 o getDataBahnHandle(String, String)
This corresponds to getting the reference to a Bahn.
 o joinBahn(String, String)
This corresponds to the checking for the existence of a Bahn.
 o listApplications()
Returns a String Array of all the Applications currently listed/registered to the sessionScheduler
 o listBahns(String)
Returns a String Array of all the Bahns currently listed/registered to the sessionScheduler
 o setScheduler(ThreadScheduler)

Constructors

 o SessionSchedulerImpl
 public SessionSchedulerImpl(String name) throws RemoteException
Construct a persistently named object.

 o SessionSchedulerImpl
 public SessionSchedulerImpl() throws RemoteException
Construct a transient object.

Methods

 o setScheduler
 public void setScheduler(ThreadScheduler scheduler)
 o listApplications
 public String[] listApplications() throws RemoteException, jdceRMIBahnException
Returns a String Array of all the Applications currently listed/registered to the sessionScheduler

Throws: jdceRMIBahnException
If a Bahn exception has occured.
See Also:
jdceException
 o listBahns
 public String[] listBahns(String _applicationServerName) throws RemoteException, jdceRMIBahnException
Returns a String Array of all the Bahns currently listed/registered to the sessionScheduler

Throws: jdceRMIBahnException
If a Bahn exception has occured.
See Also:
jdceException
 o destroyBahn
 public boolean destroyBahn(String _bahnName,
                            String _appName) throws RemoteException, jdceRMIBahnException

Parameters:
bahnName - The DataBahn identifier String
applicationName - The application this Bahn would serve Since there could be different application Bahns
Returns:
true If the Bahn had been destroyed successfully
Throws: jdceRMIBahnException
If a Bahn exception has occured.
See Also:
jdceException
 o createBahn
 public boolean createBahn(String _bahnName,
                           String _appName) throws RemoteException, jdceRMIBahnException

Parameters:
bahnName - The DataBahn identifier String
applicationName - The application this Bahn would serve Since there could be different application Bahns
Returns:
true If the Bahn has been created successfully
Throws: jdceRMIBahnException
If a Bahn exception has occured.
See Also:
jdceException
 o joinBahn
 public boolean joinBahn(String _bahnName,
                         String _appName) throws RemoteException, jdceRMIBahnException
This corresponds to the checking for the existence of a Bahn.

Parameters:
bahnName - The DataBahn identifier String
applicationName - The application this Bahn would serve Since there could be different application Bahns
Returns:
true If the Bahn has been joined successfully
Throws: jdceRMIBahnException
If a Bahn exception has occured.
See Also:
jdceException
 o getDataBahnHandle
 public RMIDataBahn getDataBahnHandle(String _p,
                                      String _a) throws RemoteException, jdceRMIBahnException
This corresponds to getting the reference to a Bahn.

Parameters:
bahnName - The DataBahn identifier String
applicationName - The application this Bahn would serve Since there could be different application Bahns
Throws: jdceRMIBahnException
If a Bahn exception has occured.
See Also:
jdceException, createBahn, joinBahn

All Packages  Class Hierarchy  This Package  Previous  Next  Index