|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprovided.engine.model.EngineModel
public class EngineModel
| Field Summary | |
|---|---|
private IVoidLambda<java.lang.String> |
outputCmd
A command used as a wrapper around the view adapter for the RegistryFactory and the ComputeEngine. |
private java.rmi.registry.Registry |
registry
The RMI Registry |
private IRMIUtils |
rmiUtils
Utility object used to get the Registry |
private IViewAdapter |
view
The adapter to the view |
| Constructor Summary | |
|---|---|
EngineModel(IViewAdapter view)
The constructor for the class |
|
| Method Summary | |
|---|---|
void |
start()
Start the server by setting the necessary RMI system parameters, starting the security manager, locating the local Registry and binding an instance of the ComputeEngine to it. |
void |
stop()
Stops the EngineModel by unbinding the ComputeEngine from the Registry and stopping class file server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private IViewAdapter view
private java.rmi.registry.Registry registry
private IVoidLambda<java.lang.String> outputCmd
private IRMIUtils rmiUtils
| Constructor Detail |
|---|
public EngineModel(IViewAdapter view)
view - The adapter to the view| Method Detail |
|---|
public void start()
public void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||