Skip to content
Permalink
Browse files
Merge pull request #452 from guohao/simplify-tri-demo
Add log in demo
  • Loading branch information
guohao committed May 23, 2022
2 parents d75f129 + 0cf75a8 commit 6c42a2236c1ae9130cb3eeefcd002251481d2a7c
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 6c42a22

Please sign in to comment.