TCP 套接字上的双向 JSON-RPC Java 实现

发布于 2024-11-17 19:21:37 字数 171 浏览 5 评论 0原文

有谁知道是否存在一些具有双向支持的 JSON-RPC 协议的 Java 实现(没有客户端/服务器,两个实体都可以发送和接收相同的消息)。

我知道它存在于 Python 中: bjsonrpc

谢谢!

Does anyone know if some Java implementation of the JSON-RPC protocol exists with bidirectional support (there is no Client/Server, both entities can send and receive the same messages).

I know it exists in Python: bjsonrpc

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

君勿笑 2024-11-24 19:21:37

看起来它不存在,所以我创建了一个,基于 JsonRpcBase: JJsonRpc

它不存在现在处理套接字连接非常好,但它对我来说工作得很好。

希望有帮助。

It looks like it didn't exist, so I created one, based on JsonRpcBase: JJsonRpc

It doesn't handle sockets connections very well right now, but it's working decently for me.

Hope it helps.

把梦留给海 2024-11-24 19:21:37

我前几天发现了这个,可能值得一看(我知道这已经过时了,但这都是为了提供信息)。

http://java-json-rpc.sourceforge.net/

I found this the other day, might be worth looking at (I know this is out of date, but its all for the informations).

http://java-json-rpc.sourceforge.net/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文