All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.habanero.replay.ArbitratorState
java.lang.Object
|
+----java.util.EventObject
|
+----java.awt.AWTEvent
|
+----ncsa.habanero.ServerMessage
|
+----ncsa.habanero.replay.ArbitratorState
- public class ArbitratorState
- extends ServerMessage
- implements Answerable
CaptureAnnounce.java
Announces to everyone that someone is capturing the session
-
session
-
-
streamVector
-
-
ArbitratorState(Arbitrator, String)
-
-
answer()
-
-
describe()
-
-
dispatch()
-
-
expectAnswer()
-
-
getByteArray(int)
-
-
getIndexOfFile(String, int)
-
-
targetSharable()
-
streamVector
protected Vector streamVector
session
protected Session session
ArbitratorState
public ArbitratorState(Arbitrator arb,
String strTag)
- Parameters:
- arb - the arbitrator that has access to the desired information
- strTag - the tag for the factory
- Returns:
- creates a capture announce message
dispatch
public void dispatch()
- Returns:
- prints a message to std out about the information
- Overrides:
- dispatch in class ServerMessage
describe
public String describe()
- Returns:
- a string that describes this object
getIndexOfFile
protected int getIndexOfFile(String strName,
int nStartAt)
- Parameters:
- strName - the name of the string we want
- nStartAt - the index to start searching at
- Returns:
- the index of the file
getByteArray
protected byte[] getByteArray(int nIndex)
- Parameters:
- nIndex - the index to start searching at
- Returns:
- a byte array that is named appropriately
targetSharable
public Sharable targetSharable()
- Returns:
- the session which we are headed for
answer
public ServerMessage answer()
- Returns:
- do something when you arrive at the server
expectAnswer
public boolean expectAnswer()
- Returns:
- false since we never send anything back
All Packages Class Hierarchy This Package Previous Next Index