Skip to content

Commit cdbe21e

Browse files
committed
🎉 java.core component rpc.
1 parent b4bd3e7 commit cdbe21e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/cn/ucaner/component/rpc/service/impl/EchoServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public String echo(String ping) {
3838
*/
3939
@Override
4040
public String helloWorld() {
41-
return "HelloWorld Rpc . \r -- Hi. I'am Jason . \r - thks. ";
41+
return "HelloWorld Rpc . \r -- Hi. I'am Jason . \r -- thks. ";
4242
}
4343

4444

src/cn/ucaner/component/rpc/test/RpcTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,9 @@ public void run() {
8181
//Output
8282
//I am ok.
8383
//Are you OK? --> I am ok.
84+
85+
//I am ok.
86+
//Are you OK? --> I am ok.
87+
//HelloWorld Rpc .
88+
// -- Hi. I'am Jason .
89+
// -- thks.

0 commit comments

Comments
 (0)