All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.habanero.ObserverHandler
java.lang.Object
|
+----ncsa.habanero.ObserverHandler
- public class ObserverHandler
- extends Object
ObserverHandler
Holds all the observers
-
nMarkNumber
-
-
ObserverHandler(Object, Session)
-
-
finishObserving()
-
-
makeMark()
-
-
queryObserverFactory()
-
-
readSessionTools(ObjectInputStream, int)
-
-
saveMark(String, String)
-
-
setObserverFactory(ObserverFactory)
-
-
startObserving(boolean)
-
nMarkNumber
protected transient int nMarkNumber
ObserverHandler
public ObserverHandler(Object newKey,
Session init)
startObserving
public void startObserving(boolean bSaveArbitratorState)
- Parameters:
- bSaveArbitratorState - should the state of the arbitrator also be saved
- Returns:
- starts recording the session
saveMark
protected void saveMark(String strMarkName,
String strSessionID) throws IOException
- Parameters:
- strMarkName - the name of the mark
- strSessionID - the string that names the session
- s - the session object
- Returns:
- saves a mark (if the initial state, the mark is named "session"
- Throws: IOException
- if there is a problem opening a file or writing
makeMark
public void makeMark()
- Returns:
- creates a new mark
finishObserving
public void finishObserving()
- Returns:
- stops recording the session
setObserverFactory
public void setObserverFactory(ObserverFactory newFactory)
- Parameters:
- newFactory - the new recording factory for this session
- Returns:
- adds a new observer factory to watch this session
queryObserverFactory
public ObserverFactory queryObserverFactory()
- Returns:
- the factory that is doing the recording
readSessionTools
public void readSessionTools(ObjectInputStream in,
int numTools) throws IOException, ClassNotFoundException
All Packages Class Hierarchy This Package Previous Next Index