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

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

public interface Call<S,R>

A call to a service.

Author:
Fabio Simeoni

Method Summary
 R call(S service)
          Calls the service
 

Method Detail

call

R call(S service)
       throws Exception
Calls the service

Parameters:
service - the service
Returns:
the value returned by the call
Throws:
Exception - if the call fails


Copyright © 2012. All Rights Reserved.