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

    Modifier and Type
    Method
    Description
    call(S endpoint)
    Calls a given service endpoint.
  • Method Details

    • call

      R call(S endpoint) throws Exception
      Calls a given service endpoint.
      Parameters:
      endpoint - a proxy of the endpoint
      Returns:
      the value returned by the call
      Throws:
      Exception - if the call fails