All Packages Class Hierarchy This Package Previous Next Index
Interface org.ohio.iOhioManager
- public interface iOhioManager
Central repository for access to all OHIO sessions. The iOhioManager
contains a list of all iOhioSession objects available on this system.
-
closeSession(iOhioSession)
- Closes an iOhioSession object.
-
closeSession(String)
- Closes an iOhioSession object.
-
getSessions()
- Returns an iOhioSessions object containing the iOhioSession objects available
on this system.
-
openSession(String, String)
- Returns an iOhioSession object based on the parameters
provided.
getSessions
public abstract iOhioSessions getSessions()
- Returns an iOhioSessions object containing the iOhioSession objects available
on this system. This list of objects is a static snapshot at the time the
iOhioSessions object is created. Use the iOhioSessions.refresh method to
obtain a new snapshot.
- Returns:
- The iOhioSessions object.
- See Also:
- iOhioSessions
openSession
public abstract iOhioSession openSession(String configurationResource,
String sessionName)
- Returns an iOhioSession object based on the parameters
provided. The parameters are used as follows:
Is configurationResource provided?
- Yes - Is sessionName provided?
- Yes - Is iOhioSession object with matching sessionName
available on the system?
- Yes - Error, attempting to create an iOhioSession object
with a non-unique sessionName.
- No - Create an iOhioSession object using sessionName
and configurationResource.
- No - Start a new iOhioSession using configurationResource and
generating a new sessionName.
- No - Is sessionName provided?
- Yes - Is iOhioSession object with matching sessionName
available on the system?
- Yes - Return identified iOhioSession object.
- No - Return null.
- No - Return null.
- Parameters:
- configurationResource - (OPEN ISSUE)
- sessionName - The unique name associated with a session.
- Returns:
- An iOhioSession object that matches the input parameters.
- See Also:
- iOhioSession
closeSession
public abstract void closeSession(iOhioSession sessionObject)
- Closes an iOhioSession object. The iOhioSession is considered invalid and
is removed from the list of iOhioSession objects.
- Parameters:
- sessionObject - The iOhioSession to close.
- See Also:
- iOhioSession
closeSession
public abstract void closeSession(String sessionName)
- Closes an iOhioSession object. The iOhioSession is considered invalid and
is removed from the list of iOhioSession objects.
- Parameters:
- sessionName - The sessionName of the iOhioSession to close.
- See Also:
- iOhioSession
All Packages Class Hierarchy This Package Previous Next Index