public interface IEngineModel
This interface is provided as a guide for building the compute engine model. This interface is not in any way fundamental to the operation of RMI, though the behaviors described here are critical to proper RMI operation.
The behaviors as described here are REQUIRED for any engine server implementation though the use of this particular interface is not.
IMPORTANT: The engine model is NOT the same as the compute engine!! The compute engine (ICompute) is just one of the objects managed by the engine model.
Suggestion: Copy this interface to one's own code to use as a starting point and then modify it to suit one's specific needs.
Modifier and Type | Method and Description |
---|---|
void |
sendMsgToClient(java.lang.String text)
Send string message to connected remote client using the IRemoteTaskViewAdapter STUB
received from the client..
|
void |
start()
Start the RMI Server (ICompute engine):
1. |
void |
stop()
Stops the engine model by unbinding the ICompute engine from the Registry
and stopping class file server.
|
void start()
void stop()
void sendMsgToClient(java.lang.String text)
text
- Message to send