Skip to content
Permalink
Browse files
Add log in demo
  • Loading branch information
guohao committed May 23, 2022
1 parent 7982126 commit 0cf75a8527969a457ea91e83c8f19cf1d3e4a8cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
@@ -60,8 +60,8 @@ public TriStubClient(boolean direct, String directUrl) {
public static void main(String[] args) throws IOException {
final TriStubClient consumer = new TriStubClient();
consumer.unary();
consumer.stream();
consumer.serverStream();
// consumer.stream();
// consumer.serverStream();
System.in.read();
}
}
@@ -41,6 +41,7 @@ public static void main(String[] args) throws IOException {
TriStubServer server = new TriStubServer(TriSampleConstants.SERVER_PORT);
server.initialize();
server.start();
System.out.println("Dubbo triple stub server started, port=" + TriSampleConstants.SERVER_PORT);
System.in.read();
}

0 comments on commit 0cf75a8

Please sign in to comment.