|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IParticipant
Someone who is participating in the simulation.
execution sequence:
configure()
initialize()
start()
suspend() & resume()
stop()
reset()
start()
suspend() & resume()
stop()
shutdown()
| Method Summary | |
|---|---|
void |
configure(java.util.Map<java.lang.String,java.lang.String> options)
|
void |
connect()
|
void |
disconnect()
|
IAfferentObjectManager |
getAfferentObjectManager()
|
IAgentObjectManager |
getAgentObjectManager()
|
IClock |
getClock()
|
IEfferentCommandManager |
getEfferentCommandManager()
|
IEfferentObjectManager |
getEfferentObjectManager()
|
IRealObjectManager |
getRealObjectManager()
|
ISensorObjectManager |
getSensorObjectManager()
|
void |
initialize()
initialize this participant. |
boolean |
isConnected()
|
boolean |
isInitialized()
|
boolean |
isStarted()
|
boolean |
isSuspended()
|
void |
reset(boolean clockWillBeReset)
|
void |
resume()
|
java.util.concurrent.Future<IAcknowledgement> |
send(IMessage message)
send a message to common reality. |
void |
shutdown()
|
void |
start()
start the participant |
void |
stop()
|
void |
suspend()
|
void |
waitForConnection()
|
void |
waitForResumption()
|
void |
waitForStart()
|
void |
waitForStop()
|
void |
waitForSuspension()
|
| Methods inherited from interface org.commonreality.identifier.IIdentifiable |
|---|
getIdentifier |
| Method Detail |
|---|
void configure(java.util.Map<java.lang.String,java.lang.String> options)
throws java.lang.Exception
java.lang.Exceptionboolean isInitialized()
void initialize()
throws java.lang.Exception
java.lang.Exceptionboolean isStarted()
void start()
throws java.lang.Exception
java.lang.Exception
void waitForStart()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionboolean isSuspended()
void suspend()
throws java.lang.Exception
java.lang.Exception
void waitForSuspension()
throws java.lang.InterruptedException
java.lang.InterruptedException
void resume()
throws java.lang.Exception
java.lang.Exception
void waitForResumption()
throws java.lang.InterruptedException
java.lang.InterruptedException
void stop()
throws java.lang.Exception
java.lang.Exception
void waitForStop()
throws java.lang.InterruptedException
java.lang.InterruptedException
void shutdown()
throws java.lang.Exception
java.lang.Exception
void reset(boolean clockWillBeReset)
throws java.lang.Exception
java.lang.Exception
void connect()
throws java.lang.Exception
java.lang.Exception
void disconnect()
throws java.lang.Exception
java.lang.Exceptionboolean isConnected()
void waitForConnection()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionjava.util.concurrent.Future<IAcknowledgement> send(IMessage message)
IRequest the
Future will contain the IAcknowledgement message. If the
message is not an IRequest, the Future will contain null
message -
IClock getClock()
ISensorObjectManager getSensorObjectManager()
IAfferentObjectManager getAfferentObjectManager()
IEfferentObjectManager getEfferentObjectManager()
IAgentObjectManager getAgentObjectManager()
IRealObjectManager getRealObjectManager()
IEfferentCommandManager getEfferentCommandManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||