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

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)
Construct a persistently named object.

 o SessionSchedulerImpl
 public SessionSchedulerImpl()
Construct a transient object.

Methods

 o setScheduler
 public void setScheduler(ThreadScheduler scheduler)
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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