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

-
SessionSchedulerImpl()
- Construct a transient object.
-
SessionSchedulerImpl(String)
- Construct a persistently named object.
-
createBahn(String, String)
-
-
destroyBahn(String, String)
-
-
getDataBahnHandle(String, String)
-
This corresponds to getting the reference to a Bahn.
-
joinBahn(String, String)
-
This corresponds to the checking for the existence of a Bahn.
-
listApplications()
-
Returns a String Array of all the Applications currently listed/registered
to the sessionScheduler
-
listBahns(String)
-
Returns a String Array of all the Bahns currently listed/registered
to the sessionScheduler
-
setScheduler(ThreadScheduler)
-
SessionSchedulerImpl
public SessionSchedulerImpl(String name) throws RemoteException
- Construct a persistently named object.
SessionSchedulerImpl
public SessionSchedulerImpl() throws RemoteException
- Construct a transient object.
setScheduler
public void setScheduler(ThreadScheduler scheduler)
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
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
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
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
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
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