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

如何实现Future异步通信模式 #239

Open
rsqzrcy opened this issue Aug 27, 2020 · 1 comment
Open

如何实现Future异步通信模式 #239

rsqzrcy opened this issue Aug 27, 2020 · 1 comment
Assignees

Comments

@rsqzrcy
Copy link

rsqzrcy commented Aug 27, 2020

Your question

(1)使用sofa-bolt来作为服务端,客户端是一个硬件设备,客户端请求服务端时希望是Future通信模式,服务端该如何实现?

Your scenes

使用sofa-bolt来作为服务端,客户端是一个硬件设备,客户端自己实现tcp请求,连接到服务端。

Your advice

describe the advice or solution you'd like

Environment

  • SOFABolt version:1.6.2
  • JVM version (e.g. java -version):jdk8
  • OS version (e.g. uname -a):macos
  • Maven version:3.6.2
  • IDE version:idea2020.2
@cytnju
Copy link
Contributor

cytnju commented Sep 1, 2020

看下 RPCServer#invokeWithFuture的一系列方法,都是在服务端去处理 request 时 采用future的模型。

@cytnju cytnju self-assigned this Sep 1, 2020
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