|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.goldenhammer.node.SimulationNode
| Field Summary |
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Constructor Summary | |
SimulationNode()
default constructor |
|
| Method Summary | |
void |
addModality(Modality modality)
|
void |
endSimulation()
This method is similar to a finalize in taht it will do whatever is necissary to 'clean up' after the simulation. |
java.util.Collection |
getStatus()
Gets from the node an ArrayList of ModalityStatus objects that contain information about the current status of each modality on this node |
ModalityStatsSummary |
getSummaryForNode(java.lang.String testID)
|
java.lang.String |
getTestID()
|
static void |
main(java.lang.String[] args)
main method |
void |
markCompleted(SimulationThread thread)
notify the node that the modality is finished |
void |
nuke()
|
void |
startSimulation(java.lang.String testID)
starts the simulation. |
void |
stopSimulation()
stops this node (kills every modality thread) |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SimulationNode()
throws java.rmi.RemoteException
java.rmi.RemoteException| Method Detail |
public void startSimulation(java.lang.String testID)
throws java.rmi.RemoteException
Node
startSimulation in interface NodetestID -
java.rmi.RemoteExceptionpublic void endSimulation()
Node
endSimulation in interface Node
public void markCompleted(SimulationThread thread)
throws java.rmi.RemoteException
Node
markCompleted in interface Nodethread -
java.rmi.RemoteException
public void stopSimulation()
throws java.rmi.RemoteException
Node
stopSimulation in interface Nodejava.rmi.RemoteException
public void addModality(Modality modality)
throws java.rmi.RemoteException
addModality in interface Nodemodality -
java.rmi.RemoteException
public java.util.Collection getStatus()
throws java.rmi.RemoteException
getStatus in interface Nodejava.rmi.RemoteExceptionpublic static void main(java.lang.String[] args)
args -
public void nuke()
throws java.rmi.RemoteException
nuke in interface Nodejava.rmi.RemoteException
public java.lang.String getTestID()
throws java.rmi.RemoteException
getTestID in interface Nodejava.rmi.RemoteException
public ModalityStatsSummary getSummaryForNode(java.lang.String testID)
throws java.rmi.RemoteException
getSummaryForNode in interface NodetestID -
java.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||