|
||||||||||
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.nodecontroller.SimulationController
This class represents the controller which actually runs the simulation. This class is labeled as a server because the individual nodes connect to this so that they may be run from a central location ie: the control console where this server will be running
Field Summary |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary | |
SimulationController()
default constructor |
Method Summary | |
ModalityStatsSummary |
getGigPerHRForEntireSystem(java.lang.String testID)
|
java.util.Collection |
getGigPerHRPerModality(java.lang.String testID)
|
java.util.Collection |
getGigPerHRPerModalityType(java.lang.String testID)
|
java.util.Collection |
getNodes()
gets all the nodes this controller currently owns |
java.util.Collection |
getSimulationStatus()
Gets the status of the simulation |
java.util.Collection |
getSummariesForNode(java.lang.String testID)
|
java.lang.String |
getTestid()
|
void |
markDistributed()
increments the counter for how many modalities have been distributed |
void |
markRetrieved(Node node)
increments the counter for how many nodes have been recieved |
void |
startSimulation(java.lang.String profileName,
java.util.Collection modalities)
called when the simulation needs to be run. |
void |
stopSimulation()
tells each connected node to stop its respective modalities |
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 SimulationController() throws java.rmi.RemoteException
java.rmi.RemoteException
Method Detail |
public void startSimulation(java.lang.String profileName, java.util.Collection modalities) throws java.rmi.RemoteException
Controller
startSimulation
in interface Controller
profileName
-
java.rmi.RemoteException
public void stopSimulation() throws java.rmi.RemoteException
Controller
stopSimulation
in interface Controller
java.rmi.RemoteException
public java.util.Collection getNodes() throws java.rmi.RemoteException
Controller
getNodes
in interface Controller
java.rmi.RemoteException
public void markRetrieved(Node node) throws java.rmi.RemoteException
Controller
markRetrieved
in interface Controller
node
-
java.rmi.RemoteException
public void markDistributed() throws java.rmi.RemoteException
Controller
markDistributed
in interface Controller
java.rmi.RemoteException
public java.util.Collection getSimulationStatus() throws java.rmi.RemoteException
Controller
getSimulationStatus
in interface Controller
java.rmi.RemoteException
public java.lang.String getTestid()
public ModalityStatsSummary getGigPerHRForEntireSystem(java.lang.String testID) throws java.rmi.RemoteException
getGigPerHRForEntireSystem
in interface Controller
testID
-
java.rmi.RemoteException
public java.util.Collection getGigPerHRPerModality(java.lang.String testID) throws java.rmi.RemoteException
getGigPerHRPerModality
in interface Controller
testID
-
java.rmi.RemoteException
public java.util.Collection getGigPerHRPerModalityType(java.lang.String testID) throws java.rmi.RemoteException
getGigPerHRPerModalityType
in interface Controller
testID
-
java.rmi.RemoteException
public java.util.Collection getSummariesForNode(java.lang.String testID) throws java.rmi.RemoteException
getSummariesForNode
in interface Controller
testID
-
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |