|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InteractiveTaskServer
Remote interface for clients to connect to a server managing interactive tasks. The server and clients work as follows:
Method Summary | |
---|---|
java.lang.Object |
getID(java.lang.Object initialParameters)
Called by clients the first time they connect. |
InteractiveTask |
getTask(java.lang.Object id)
This will provide the client with the InteractiveTask it should run. |
java.lang.Object |
interact(java.lang.Object id,
java.lang.Object clientTaskOutput)
Called by clients when they wish to interact. |
Method Detail |
---|
java.lang.Object getID(java.lang.Object initialParameters) throws java.rmi.RemoteException
initialParameters
- Initial parameters from client local
configuration. The current client implementation, see
InteractiveTaskClient, provides the ip address of the client and
the command line paramaters used to launch the client. These
are packaged in a Vector.
java.rmi.RemoteException
- DOCUMENT ME!InteractiveTask getTask(java.lang.Object id) throws java.rmi.RemoteException
id
- The ID provided by the getID method by which the client will
always refer to itself.
java.rmi.RemoteException
- DOCUMENT ME!java.lang.Object interact(java.lang.Object id, java.lang.Object clientTaskOutput) throws java.rmi.RemoteException
id
- the client's IDclientTaskOutput
- the outputs of the client obtained by task.get(
null ) on the client task
java.rmi.RemoteException
- DOCUMENT ME!
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |