|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.lancs.relate.gateways.services.architecture.ServiceRequester
uk.ac.lancs.relate.gateways.services.architecture.communication.rmi.RMIServiceRequester
public abstract class RMIServiceRequester
This abstract class is used for Requesters willing to use RMI communication with Providers. Note: a Requester is not required to use any particular communication API, this class is models one type of communication but it is the programmer's responsibility to pick up the right communication model for his service. As long as the concrete service requester extends the ServiceRequester class the RelateGateways system will handle and export it correctly.
| Constructor Summary | |
|---|---|
RMIServiceRequester(RMIService service)
Creates a new instance of RMIServiceRequester |
|
| Method Summary | |
|---|---|
ServiceResponse |
request(ServiceRequest request)
This method is to be used by to send the request to an RMI ServiceProvider. |
void |
shutdown()
Method used to shutdown (stop) the service requester |
void |
startup()
Method used to startup the service requester. |
| Methods inherited from class uk.ac.lancs.relate.gateways.services.architecture.ServiceRequester |
|---|
askForConfirmation, askToSelectFile, confirmShutdown, confirmStartup, displayErrorMessage, displayMessage, displayNonBlockingMessage, getService, isStarted, request, setService, setStarted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RMIServiceRequester(RMIService service)
RMIServiceRequester
| Method Detail |
|---|
public ServiceResponse request(ServiceRequest request)
public void startup()
public void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||