All Packages Class Hierarchy This Package Previous Next Index

Class jdce.impl.corba.SessionSchedulerImpl
java.lang.Object
|
+----org.omg.CORBA.portable.ObjectImpl
|
+----org.omg.CORBA.portable.Skeleton
|
+----jdce.scheduler._sessionSchedulerImplBase
|
+----jdce.impl.corba.SessionSchedulerImpl

- public class SessionSchedulerImpl
- extends _sessionSchedulerImplBase
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)
- Construct a persistently named object.
SessionSchedulerImpl
public SessionSchedulerImpl()
- Construct a transient object.
setScheduler
public void setScheduler(ThreadScheduler scheduler)
listApplications
public String[] listApplications() throws jdceBahnException
-
Returns a String Array of all the Applications currently listed/registered
to the sessionScheduler
- Throws: jdceBahnException
- If a Bahn exception has occured.
- Overrides:
- listApplications in class _sessionSchedulerImplBase
- See Also:
- jdceException
listBahns
public String[] listBahns(String _applicationServerName) throws jdceBahnException
-
Returns a String Array of all the Bahns currently listed/registered
to the sessionScheduler
- Throws: jdceBahnException
- If a Bahn exception has occured.
- Overrides:
- listBahns in class _sessionSchedulerImplBase
- See Also:
- jdceException
destroyBahn
public boolean destroyBahn(String _bahnName,
String _appName) throws jdceBahnException
-
- 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: jdceBahnException
- If a Bahn exception has occured.
- Overrides:
- destroyBahn in class _sessionSchedulerImplBase
- See Also:
- jdceException
createBahn
public boolean createBahn(String _bahnName,
String _appName) throws jdceBahnException
-
- 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: jdceBahnException
- If a Bahn exception has occured.
- Overrides:
- createBahn in class _sessionSchedulerImplBase
- See Also:
- jdceException
joinBahn
public boolean joinBahn(String _bahnName,
String _appName) throws jdceBahnException
-
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: jdceBahnException
- If a Bahn exception has occured.
- Overrides:
- joinBahn in class _sessionSchedulerImplBase
- See Also:
- jdceException
getDataBahnHandle
public dataBahn getDataBahnHandle(String _p,
String _a) throws jdceBahnException
-
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: jdceBahnException
- If a Bahn exception has occured.
- Overrides:
- getDataBahnHandle in class _sessionSchedulerImplBase
- See Also:
- jdceException, createBahn, joinBahn

All Packages Class Hierarchy This Package Previous Next Index