|
||||||||||
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 Node
testID
-
java.rmi.RemoteException
public void endSimulation()
Node
endSimulation
in interface Node
public void markCompleted(SimulationThread thread) throws java.rmi.RemoteException
Node
markCompleted
in interface Node
thread
-
java.rmi.RemoteException
public void stopSimulation() throws java.rmi.RemoteException
Node
stopSimulation
in interface Node
java.rmi.RemoteException
public void addModality(Modality modality) throws java.rmi.RemoteException
addModality
in interface Node
modality
-
java.rmi.RemoteException
public java.util.Collection getStatus() throws java.rmi.RemoteException
getStatus
in interface Node
java.rmi.RemoteException
public static void main(java.lang.String[] args)
args
- public void nuke() throws java.rmi.RemoteException
nuke
in interface Node
java.rmi.RemoteException
public java.lang.String getTestID() throws java.rmi.RemoteException
getTestID
in interface Node
java.rmi.RemoteException
public ModalityStatsSummary getSummaryForNode(java.lang.String testID) throws java.rmi.RemoteException
getSummaryForNode
in interface Node
testID
-
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |