All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.habanero.replay.ReplaySessionInfo
java.lang.Object
|
+----ncsa.habanero.replay.ReplaySessionInfo
- public class ReplaySessionInfo
- extends Object
ReplaySessionInfo
Used to request information about the session
-
ReplaySessionInfo(ReplayController, String, String, String)
-
-
getArbitrator()
-
-
getParticipant(String)
-
-
getSessionInfo()
-
-
getSessionName()
-
-
localMode()
-
-
setArbitrator(Arbitrator)
-
-
setOldSessionName(String)
-
-
setSessionName(String)
-
-
wasMe(String)
-
ReplaySessionInfo
public ReplaySessionInfo(ReplayController init,
String host,
String port,
String sessionName)
- Parameters:
- init - the replay controller
- host - the string that represents the host name
- port - the port number
- sessionName - the name of the session
- Returns:
- creates a replay session info object
getArbitrator
public Arbitrator getArbitrator()
- Returns:
- the arbitrator
NOTE: This method should only be used by the framework
setArbitrator
public void setArbitrator(Arbitrator darby)
- Parameters:
- darby - the arbitrator
- Returns:
- sets the arbitrator
NOTE: This method should only be used by the framework
getSessionInfo
public SessionInfo getSessionInfo()
- Returns:
- the InfoSession
NOTE: This method should only be used by the framework
localMode
public boolean localMode()
- Returns:
- true if we are in local mode
setSessionName
public void setSessionName(String strName)
- Parameters:
- strName - the name of the session
- Returns:
- sets the name of the session
NOTE: This method should only be used by the framework
getSessionName
public String getSessionName()
- Returns:
- returns the name of the session
NOTE: This method should only be used by the framework
setOldSessionName
public void setOldSessionName(String oldName)
- Parameters:
- oldName - the old session's name
- Returns:
- memorizes the old name
NOTE: This method should only be used by the framework
wasMe
public boolean wasMe(String strName)
- Parameters:
- strName - the session we are checking on
- Returns:
- returns true if the session used to be called that
NOTE: This method should only be used by the framework
getParticipant
public SessionParticipant getParticipant(String id)
- Parameters:
- id - the participant's id
- Returns:
- get's the participant from the id
All Packages Class Hierarchy This Package Previous Next Index