Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可运行demo #234

Open
yunfeiyanggzq opened this issue Aug 13, 2020 · 1 comment
Open

可运行demo #234

yunfeiyanggzq opened this issue Aug 13, 2020 · 1 comment

Comments

@yunfeiyanggzq
Copy link

yunfeiyanggzq commented Aug 13, 2020

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
我们需要增加可以运行的demo,如rpc的可运行的demo

@cytnju
Copy link
Contributor

cytnju commented Sep 1, 2020

看下 RpcServer/RpcClinet 这两个类 ,通过 RpcServer#registerUserProcessor 来注册你自定义的服务处理器 UserProcessor,这个UserProcessor是提供给用户实现业务逻辑的接口。
具体的demo看下 com.alipay.remoting.rpc.ServerBasicUsageTest 这个测试类

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants