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 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