javasocketserver源码-protobuf-socket-rpc:使用tcp/ip套接字的Java和Pythonprotobufr

上传者: 38699757 | 上传时间: 2022-08-08 14:19:05 | 文件大小: 218KB | 文件类型: ZIP
java socket服务器源码Protobuf 套接字 RPC 进口自 描述 Google 的协议缓冲区库使编写 rpc 服务变得容易,但它不包含 rpc 实现。 传输细节由用户来实现。 这是一个简单的基于 tcp/ip 套接字的基于 java 和 python 的 rpc 实现,适用于想要简单实现其 protobuf rpc 服务的人。 看: 下载/安装 Java 你可以在downloads/protobuf-socket-rpc-2.0.jar找到用Java 1.6编译的jar,或者你也可以下载源码直接使用。 您还需要在类路径中使用 google protobuf 库(版本 2.4.0)。 你可以从 Python Python egg 位于下载/protobuf.socketrpc-1.3.2-py2.6.egg 或者从 python 目录签出源代码。 释放 请加入以获取新版本的通知。 邮件列表 有问题或想为这个项目做出贡献? 请在讨论组留言, Java 用法 以下示例显示了使用com.googlecode.protobuf.socketrpc Java API 的服务器和客户端

文件下载

资源详情

[{"title":"( 78 个子文件 218KB ) javasocketserver源码-protobuf-socket-rpc:使用tcp/ip套接字的Java和Pythonprotobufr","children":[{"title":"protobuf-socket-rpc-master","children":[{"title":"downloads","children":[{"title":"protobuf-socket-rpc-2.0.jar <span style='color:#111;'> 52.60KB </span>","children":null,"spread":false},{"title":"protobuf.socketrpc-1.3.2-py2.6.egg <span style='color:#111;'> 32.55KB </span>","children":null,"spread":false}],"spread":true},{"title":"python","children":[{"title":"LICENSE <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"protobuf","children":[{"title":"socketrpc","children":[{"title":"server.py <span style='color:#111;'> 9.21KB </span>","children":null,"spread":false},{"title":"logger.py <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"rpc_pb2.py <span style='color:#111;'> 7.65KB </span>","children":null,"spread":false},{"title":"rpc.proto <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"fake.py <span style='color:#111;'> 5.25KB </span>","children":null,"spread":false},{"title":"error_test.py <span style='color:#111;'> 5.73KB </span>","children":null,"spread":false},{"title":"channel_test.py <span style='color:#111;'> 26.44KB </span>","children":null,"spread":false},{"title":"server_test.py <span style='color:#111;'> 19.12KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"test_pb2.py <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"controller_test.py <span style='color:#111;'> 4.49KB </span>","children":null,"spread":false},{"title":"service_test.py <span style='color:#111;'> 12.16KB </span>","children":null,"spread":false},{"title":"run_tests.py <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"test.proto <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"service.py <span style='color:#111;'> 8.41KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"channel.py <span style='color:#111;'> 10.26KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"time","children":[{"title":"time_pb2.py <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false},{"title":"run_server.py <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false},{"title":"run_client.py <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"time.proto <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false}],"spread":false},{"title":"helloworld","children":[{"title":"run_server.py <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"hello_world_pb2.py <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false},{"title":"run_client.py <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"hello_world.proto <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"HelloWorldServiceImpl.py <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"controller.py <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"error.py <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"setup.cfg <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"setup.py <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false},{"title":"ChangeLog <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"COPYING.txt <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"java","children":[{"title":"pom.xml <span style='color:#111;'> 4.18KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"googlecode","children":[{"title":"protobuf","children":[{"title":"socketrpc","children":[{"title":"RpcServerTest.java <span style='color:#111;'> 5.39KB </span>","children":null,"spread":false},{"title":"SocketServerRpcConnectionFactoryTest.java <span style='color:#111;'> 4.88KB </span>","children":null,"spread":false},{"title":"SocketRpcConnectionFactoryTest.java <span style='color:#111;'> 4.12KB </span>","children":null,"spread":false},{"title":"FakeServiceImpl.java <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"FakeSocket.java <span style='color:#111;'> 4.89KB </span>","children":null,"spread":false},{"title":"SocketConnectionTest.java <span style='color:#111;'> 6.21KB </span>","children":null,"spread":false},{"title":"SocketRpcServerTest.java <span style='color:#111;'> 9.59KB </span>","children":null,"spread":false},{"title":"RpcForwarderTest.java <span style='color:#111;'> 12.59KB </span>","children":null,"spread":false},{"title":"IntegrationTest.java <span style='color:#111;'> 5.84KB </span>","children":null,"spread":false},{"title":"PersistentRpcConnectionFactoryTest.java <span style='color:#111;'> 7.96KB </span>","children":null,"spread":false},{"title":"SocketRpcChannelTest.java <span style='color:#111;'> 11.73KB </span>","children":null,"spread":false},{"title":"RpcChannelImplTest.java <span style='color:#111;'> 11.74KB </span>","children":null,"spread":false},{"title":"test.proto <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"FakeSocketFactory.java <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"TestProtos.java <span style='color:#111;'> 40.58KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"rpc.proto <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"googlecode","children":[{"title":"protobuf","children":[{"title":"socketrpc","children":[{"title":"SocketRpcConnectionFactories.java <span style='color:#111;'> 5.05KB </span>","children":null,"spread":false},{"title":"RpcServer.java <span style='color:#111;'> 9.58KB </span>","children":null,"spread":false},{"title":"PersistentConnection.java <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false},{"title":"RpcConnectionFactory.java <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"SocketConnection.java <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"ServerRpcConnectionFactory.java <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"RpcChannelImpl.java <span style='color:#111;'> 8.75KB </span>","children":null,"spread":false},{"title":"SocketRpcProtos.java <span style='color:#111;'> 46.40KB </span>","children":null,"spread":false},{"title":"RpcForwarder.java <span style='color:#111;'> 9.89KB </span>","children":null,"spread":false},{"title":"SocketRpcChannel.java <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"SocketServerRpcConnectionFactory.java <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false},{"title":"SocketRpcConnectionFactory.java <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"RpcChannels.java <span style='color:#111;'> 3.12KB </span>","children":null,"spread":false},{"title":"SocketRpcController.java <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"SocketRpcServer.java <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"PersistentRpcConnectionFactory.java <span style='color:#111;'> 4.75KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"CHANGELOG.txt <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 4.37KB </span>","children":null,"spread":false},{"title":"proto","children":[{"title":"rpc.proto <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"README <span style='color:#111;'> 174B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明