T - the ServiceServer responds to requests of this typeS - the ServiceServer returns responses of this typepublic interface ServiceClient<T,S>
| Modifier and Type | Method and Description | 
|---|---|
void | 
call(T request,
    ServiceResponseListener<S> listener)
Calls a method on the  
ServiceServer. | 
void | 
connect(java.net.URI uri)
Connects to a  
ServiceServer. | 
GraphName | 
getName()  | 
T | 
newMessage()  | 
void | 
shutdown()
Stops the client (e.g. 
 | 
void connect(java.net.URI uri)
ServiceServer.uri - the URI of the ServiceServer to connect tovoid call(T request, ServiceResponseListener<S> listener)
ServiceServer.request - the request messagelistener - the ServiceResponseListener that will handle the response
          to this requestGraphName getName()
ServiceClient is connected tovoid shutdown()
T newMessage()