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


Constructor Index

 o ReplaySessionInfo(ReplayController, String, String, String)

Method Index

 o getArbitrator()
 o getParticipant(String)
 o getSessionInfo()
 o getSessionName()
 o localMode()
 o setArbitrator(Arbitrator)
 o setOldSessionName(String)
 o setSessionName(String)
 o wasMe(String)

Constructors

 o 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

Methods

 o getArbitrator
 public Arbitrator getArbitrator()
Returns:
the arbitrator NOTE: This method should only be used by the framework
 o setArbitrator
 public void setArbitrator(Arbitrator darby)
Parameters:
darby - the arbitrator
Returns:
sets the arbitrator NOTE: This method should only be used by the framework
 o getSessionInfo
 public SessionInfo getSessionInfo()
Returns:
the InfoSession NOTE: This method should only be used by the framework
 o localMode
 public boolean localMode()
Returns:
true if we are in local mode
 o 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
 o getSessionName
 public String getSessionName()
Returns:
returns the name of the session NOTE: This method should only be used by the framework
 o 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
 o 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
 o 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