use of com.tvd12.quick.rpc.client.QuickRpcClient in project ezyfox-examples by tvd12.
the class HelloWorldRpcClientExample method main.
public static void main(String[] args) throws Exception {
QuickRpcClient client = QuickRpcClient.builder().scan("com.tvd12.quick.rpc.examples.hello_world.data").build();
GreetResponse response = client.call(new GreetRequest("World"), GreetResponse.class);
System.out.println(response.getMessage());
}
Aggregations