com.goldenhammer.nodecontroller
Class SimulationController_Stub

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteStub
          extended bycom.goldenhammer.nodecontroller.SimulationController_Stub
All Implemented Interfaces:
Controller, java.rmi.Remote, java.io.Serializable

public final class SimulationController_Stub
extends java.rmi.server.RemoteStub
implements Controller, java.rmi.Remote

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
SimulationController_Stub(java.rmi.server.RemoteRef ref)
           
 
Method Summary
 ModalityStatsSummary getGigPerHRForEntireSystem(java.lang.String $param_String_1)
           
 java.util.Collection getGigPerHRPerModality(java.lang.String $param_String_1)
           
 java.util.Collection getGigPerHRPerModalityType(java.lang.String $param_String_1)
           
 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 $param_String_1)
           
 void markDistributed()
          increments the counter for how many modalities have been distributed
 void markRetrieved(Node $param_Node_1)
          increments the counter for how many nodes have been recieved
 void startSimulation(java.lang.String $param_String_1, java.util.Collection $param_Collection_2)
          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.RemoteStub
setRef
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimulationController_Stub

public SimulationController_Stub(java.rmi.server.RemoteRef ref)
Method Detail

getGigPerHRForEntireSystem

public ModalityStatsSummary getGigPerHRForEntireSystem(java.lang.String $param_String_1)
                                                throws java.rmi.RemoteException
Specified by:
getGigPerHRForEntireSystem in interface Controller
Parameters:
$param_String_1 -
Returns:
Throws:
java.rmi.RemoteException

getGigPerHRPerModality

public java.util.Collection getGigPerHRPerModality(java.lang.String $param_String_1)
                                            throws java.rmi.RemoteException
Specified by:
getGigPerHRPerModality in interface Controller
Parameters:
$param_String_1 -
Returns:
Throws:
java.rmi.RemoteException

getGigPerHRPerModalityType

public java.util.Collection getGigPerHRPerModalityType(java.lang.String $param_String_1)
                                                throws java.rmi.RemoteException
Specified by:
getGigPerHRPerModalityType in interface Controller
Parameters:
$param_String_1 -
Returns:
Throws:
java.rmi.RemoteException

getNodes

public java.util.Collection getNodes()
                              throws java.rmi.RemoteException
Description copied from interface: Controller
gets all the nodes this controller currently owns

Specified by:
getNodes in interface Controller
Returns:
- a collection of all nodes
Throws:
java.rmi.RemoteException

getSimulationStatus

public java.util.Collection getSimulationStatus()
                                         throws java.rmi.RemoteException
Description copied from interface: Controller
Gets the status of the simulation

Specified by:
getSimulationStatus in interface Controller
Returns:
a Collection of ModalityStatus objects that give the name and percentage complete of each Modality from each Node
Throws:
java.rmi.RemoteException

getSummariesForNode

public java.util.Collection getSummariesForNode(java.lang.String $param_String_1)
                                         throws java.rmi.RemoteException
Specified by:
getSummariesForNode in interface Controller
Parameters:
$param_String_1 -
Returns:
Throws:
java.rmi.RemoteException

markDistributed

public void markDistributed()
                     throws java.rmi.RemoteException
Description copied from interface: Controller
increments the counter for how many modalities have been distributed

Specified by:
markDistributed in interface Controller
Throws:
java.rmi.RemoteException

markRetrieved

public void markRetrieved(Node $param_Node_1)
                   throws java.rmi.RemoteException
Description copied from interface: Controller
increments the counter for how many nodes have been recieved

Specified by:
markRetrieved in interface Controller
Parameters:
$param_Node_1 -
Throws:
java.rmi.RemoteException

startSimulation

public void startSimulation(java.lang.String $param_String_1,
                            java.util.Collection $param_Collection_2)
                     throws java.rmi.RemoteException
Description copied from interface: Controller
called when the simulation needs to be run. It starts each individual node (ie: machine within the network)

Specified by:
startSimulation in interface Controller
Parameters:
$param_String_1 -
Throws:
java.rmi.RemoteException

stopSimulation

public void stopSimulation()
                    throws java.rmi.RemoteException
Description copied from interface: Controller
tells each connected node to stop its respective modalities

Specified by:
stopSimulation in interface Controller
Throws:
java.rmi.RemoteException