All Packages Class Hierarchy This Package Previous Next Index
Interface org.ohio.iOhioSessions
- public interface iOhioSessions
- extends iOhio
Contains a collection of iOhioSession objects. This list is a static snapshot
of the list of iOhioSession objects available at the time of the snapshot.
-
getCount()
- Returns the number of iOhioSession objects contained in this collection.
-
item(int)
- Returns the iOhioSession object at the given index.
-
item(String)
- Returns the iOhioSession object with the given sessionName.
-
refresh()
- Updates the collection of iOhioSession objects.
getCount
public abstract int getCount()
- Returns the number of iOhioSession objects contained in this collection.
- Returns:
- The number of iOhioSession objects
item
public abstract iOhioSession item(int index)
- Returns the iOhioSession object at the given index. "One based" indexing is
used in all iOhio collections. For example, the first iOhioSession in this
collection is at index 1.
- Parameters:
- index - The index of the target iOhioSession.
- Returns:
- The iOhioSession object at the given index position.
- See Also:
- iOhioSession
item
public abstract iOhioSession item(String sessionName)
- Returns the iOhioSession object with the given sessionName. Returns null if
no object with that name exists in this collection.
- Returns:
- The iOhioSession object that matches sessionName
- See Also:
- iOhioSession
refresh
public abstract void refresh()
- Updates the collection of iOhioSession objects. All iOhioSession objects
that are available on the system at the time of the refresh will be added
to the collection. Indexing of iOhioSession objects will not be preserved
across refreshes.
All Packages Class Hierarchy This Package Previous Next Index