Package | Description |
---|---|
org.commonreality.participant | |
org.commonreality.participant.impl | |
org.commonreality.reality.impl |
Modifier and Type | Method and Description |
---|---|
IParticipant.State |
IParticipant.getState()
return the current state of the participant, and, if initialized, the state
of the simulation
|
static IParticipant.State |
IParticipant.State.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IParticipant.State[] |
IParticipant.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
IParticipant.State |
IParticipant.waitForState(IParticipant.State... states)
wait until the participant's state is one of these.
|
IParticipant.State |
IParticipant.waitForState(long waitTime,
IParticipant.State... states) |
Modifier and Type | Method and Description |
---|---|
boolean |
IParticipant.stateMatches(IParticipant.State... states) |
IParticipant.State |
IParticipant.waitForState(IParticipant.State... states)
wait until the participant's state is one of these.
|
IParticipant.State |
IParticipant.waitForState(long waitTime,
IParticipant.State... states) |
Modifier and Type | Method and Description |
---|---|
IParticipant.State |
AbstractParticipant.getState() |
IParticipant.State |
AbstractParticipant.waitForState(IParticipant.State... states) |
IParticipant.State |
AbstractParticipant.waitForState(long waitTime,
IParticipant.State... states) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractParticipant.checkState(IParticipant.State... states)
checks the state to see if it matches one of these, if not, it fires an
exception
|
boolean |
AbstractParticipant.stateMatches(IParticipant.State... states) |
IParticipant.State |
AbstractParticipant.waitForState(IParticipant.State... states) |
IParticipant.State |
AbstractParticipant.waitForState(long waitTime,
IParticipant.State... states) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultReality.setParticipantStates(IParticipant.State state)
set the state of the connected participants.
|
java.util.Collection<IIdentifier> |
StateAndConnectionManager.setState(IParticipant.State state)
will send message to all participants and wait at most timeToWait
milliseconds for acknowledgements from them.
|