org.gcube.common.clients
Interface Call<S,R>

Type Parameters:
S - the type of service stubs
R - the type of values returned from the call

public interface Call<S,R>

A call to an endpoint of a given service.

Calls interact with service endpoints at addresses provided by clients.

Author:
Fabio Simeoni

Method Summary
 R call(S endpoint)
          Calls a given service endpoint.
 

Method Detail

call

R call(S endpoint)
       throws Exception
Calls a given service endpoint.

Parameters:
address - a proxy of the endpoint
Returns:
the value returned by the call
Throws:
Exception - if the call fails


Copyright © 2013. All Rights Reserved.