|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.zcu.fav.kiv.jsim.hla.JSimHLARemoteProcess
JSimHLARemoteProcess represents HLA remote object for JSimProcess. Instance of JSimProcess with the same name must exist in another federate. All methods of this class have the same function as methods defined in JSimProcess.
JSimProcess| Constructor Summary | |
JSimHLARemoteProcess(java.lang.String name,
JSimHLASimulation parent)
Creates a new HLA remote process. |
|
| Method Summary | |
void |
activate(double when)
Activates a process at the given time. |
void |
cancel()
Deletes all process's scheduled events from the calendar. |
java.lang.String |
getName()
Returns the process's name. |
int |
getState()
Returns the process's state. |
boolean |
isIdle()
Returns true if the process is idle, false otherwise. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JSimHLARemoteProcess(java.lang.String name,
JSimHLASimulation parent)
throws JSimInvalidParametersException,
JSimSimulationAlreadyTerminatedException
name - Name of the remote process.parent - Parent simulation.
JSimSimulationAlreadyTerminatedException - This exception is thrown out
if the simulation has already been terminated.
JSimInvalidParametersException - This exception is thrown out
if no parent was specified.| Method Detail |
public java.lang.String getName()
public void activate(double when)
throws JSimSecurityException,
JSimInvalidParametersException
activate in interface JSimHLAProcesswhen - Absolute simulation time when the process should be activated.
JSimSecurityException
JSimInvalidParametersException
public void cancel()
throws JSimSecurityException
cancel in interface JSimHLAProcessJSimSecurityExceptionpublic int getState()
getState in interface JSimHLAProcesspublic boolean isIdle()
isIdle in interface JSimHLAProcess
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||