|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerInterface
ServerInterface defines the remote methods that class Server provides. The point of defining this interface is so the actual implementation of the server class need not (and typically does not) exist on the client machine.
Method Summary | |
---|---|
void |
compute()
Perform some computation using the client input. |
java.lang.Object |
getServerOutput()
Return computation results back to the client, when the client calls for it. |
void |
receiveClientInput(ClientDataInterface clientData)
Receive some input from the client. |
Method Detail |
---|
void receiveClientInput(ClientDataInterface clientData) throws java.rmi.RemoteException
java.rmi.RemoteException
void compute() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.Object getServerOutput() throws java.rmi.RemoteException
java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |