colesico.framework.rpc.clientapi.RpcClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of colesico-rpc Show documentation
Show all versions of colesico-rpc Show documentation
Colesico framework Remote Procedure Call for Services
The newest version!
package colesico.framework.rpc.clientapi;
import colesico.framework.rpc.teleapi.RpcRequest;
import colesico.framework.rpc.teleapi.RpcResponse;
/**
* RPC client API used in autogenerated RPC clients to call remote services
*/
public interface RpcClient {
String REQUEST_PARAM = "request";
String CALL_METHOD = "call";
/**
* Adds extra parameters and call target
*/
RpcResponse call(String rpcNamespace, String rpcApiName, String rpcMethodName, RpcRequest request, Class extends RpcResponse> responseType);
}