Browse Source

rpc

pull/3/MERGE
CalvinKirs 4 years ago
parent
commit
9d3c37e7b8
  1. 2
      dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/rpc/MainTest.java

2
dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/rpc/MainTest.java

@ -24,7 +24,7 @@ public class MainTest {
Host host = new Host("127.0.0.1", 12366); Host host = new Host("127.0.0.1", 12366);
IRpcClient rpcClient = new RpcClient(); IRpcClient rpcClient = new RpcClient();
IUserService userService = rpcClient.create(UserService.class); UserService userService = rpcClient.create(UserService.class);
String result = userService.say("calvin"); String result = userService.say("calvin");
System.out.println("我是你爸爸吧"+result); System.out.println("我是你爸爸吧"+result);

Loading…
Cancel
Save