利用grpc框架c++编码实现异步双向流调用,可实现客户端服务端的主动调用链接

上传者: 32718727 | 上传时间: 2023-10-10 00:01:01 | 文件大小: 77.65MB | 文件类型: RAR
grpc异步双向流实现demo,c++调用代码实例。利用grpc框架实现异步双向流调用,可实现客户端服务端的主动调用链接。这是个c++实现的调用例子。两端维护protobuf协议即可。

文件下载

资源详情

[{"title":"( 114 个子文件 77.65MB ) 利用grpc框架c++编码实现异步双向流调用,可实现客户端服务端的主动调用链接 ","children":[{"title":"hello.pb.cc <span style='color:#111;'> 11.04KB </span>","children":null,"spread":false},{"title":"hello.pb.cc <span style='color:#111;'> 11.04KB </span>","children":null,"spread":false},{"title":"hello.grpc.pb.cc <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"hello.grpc.pb.cc <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"GrpcStreamClientThread.cpp <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"GrpcStreamServerThread.cpp <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":"GrpcStreamClientInstance.cpp <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"GrpcStreamServerInstance.cpp <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 945B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 678B </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.exe <span style='color:#111;'> 19.87MB </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.exe <span style='color:#111;'> 19.22MB </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.exe <span style='color:#111;'> 5.49MB </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.exe <span style='color:#111;'> 5.32MB </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.vcxproj.filters <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.vcxproj.filters <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"hello.grpc.pb.h <span style='color:#111;'> 10.34KB </span>","children":null,"spread":false},{"title":"hello.grpc.pb.h <span style='color:#111;'> 10.34KB </span>","children":null,"spread":false},{"title":"hello.pb.h <span style='color:#111;'> 9.79KB </span>","children":null,"spread":false},{"title":"hello.pb.h <span style='color:#111;'> 9.79KB </span>","children":null,"spread":false},{"title":"GrpcStreamClientInstance.h <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"GrpcStreamServerInstance.h <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"commdef.h <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"commdef.h <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"GrpcStreamClientThread.h <span style='color:#111;'> 579B </span>","children":null,"spread":false},{"title":"GrpcStreamServerThread.h <span style='color:#111;'> 365B </span>","children":null,"spread":false},{"title":"vc142.idb <span style='color:#111;'> 1.14MB </span>","children":null,"spread":false},{"title":"vc142.idb <span style='color:#111;'> 1.11MB </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.ilk <span style='color:#111;'> 80.99MB </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.ilk <span style='color:#111;'> 77.90MB </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.iobj <span style='color:#111;'> 2.53MB </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.iobj <span style='color:#111;'> 2.32MB </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.ipdb <span style='color:#111;'> 818.41KB </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.ipdb <span style='color:#111;'> 719.09KB </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.lastbuildstate <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.lastbuildstate <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.lastbuildstate <span style='color:#111;'> 162B </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.lastbuildstate <span style='color:#111;'> 162B </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.Build.CppClean.log <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.Build.CppClean.log <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.Build.CppClean.log <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.log <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.log <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.log <span style='color:#111;'> 920B </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.log <span style='color:#111;'> 917B </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.Build.CppClean.log <span style='color:#111;'> 792B </span>","children":null,"spread":false},{"title":"GrpcStreamServerInstance.obj <span style='color:#111;'> 4.55MB </span>","children":null,"spread":false},{"title":"GrpcStreamServerThread.obj <span style='color:#111;'> 4.43MB </span>","children":null,"spread":false},{"title":"GrpcStreamClientInstance.obj <span style='color:#111;'> 4.41MB </span>","children":null,"spread":false},{"title":"GrpcStreamClientThread.obj <span style='color:#111;'> 4.39MB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 4.36MB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 4.33MB </span>","children":null,"spread":false},{"title":"hello.grpc.pb.obj <span style='color:#111;'> 4.25MB </span>","children":null,"spread":false},{"title":"hello.grpc.pb.obj <span style='color:#111;'> 4.25MB </span>","children":null,"spread":false},{"title":"hello.pb.obj <span style='color:#111;'> 1.75MB </span>","children":null,"spread":false},{"title":"hello.pb.obj <span style='color:#111;'> 1.75MB </span>","children":null,"spread":false},{"title":"hello.grpc.pb.obj <span style='color:#111;'> 1.72MB </span>","children":null,"spread":false},{"title":"hello.grpc.pb.obj <span style='color:#111;'> 1.71MB </span>","children":null,"spread":false},{"title":"GrpcStreamServerInstance.obj <span style='color:#111;'> 1.46MB </span>","children":null,"spread":false},{"title":"GrpcStreamClientInstance.obj <span style='color:#111;'> 879.66KB </span>","children":null,"spread":false},{"title":"GrpcStreamServerThread.obj <span style='color:#111;'> 682.33KB </span>","children":null,"spread":false},{"title":"GrpcStreamClientThread.obj <span style='color:#111;'> 641.70KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 455.68KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 407.90KB </span>","children":null,"spread":false},{"title":"hello.pb.obj <span style='color:#111;'> 302.07KB </span>","children":null,"spread":false},{"title":"hello.pb.obj <span style='color:#111;'> 301.67KB </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.pdb <span style='color:#111;'> 143.44MB </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.pdb <span style='color:#111;'> 139.06MB </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.pdb <span style='color:#111;'> 11.72MB </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.pdb <span style='color:#111;'> 11.41MB </span>","children":null,"spread":false},{"title":"vc142.pdb <span style='color:#111;'> 2.81MB </span>","children":null,"spread":false},{"title":"vc142.pdb <span style='color:#111;'> 2.74MB </span>","children":null,"spread":false},{"title":"vc142.pdb <span style='color:#111;'> 2.72MB </span>","children":null,"spread":false},{"title":"vc142.pdb <span style='color:#111;'> 2.66MB </span>","children":null,"spread":false},{"title":"hello.proto <span style='color:#111;'> 181B </span>","children":null,"spread":false},{"title":"hello.proto <span style='color:#111;'> 181B </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.exe.recipe <span style='color:#111;'> 310B </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.exe.recipe <span style='color:#111;'> 310B </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.exe.recipe <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.exe.recipe <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"grpc_async_stream_client.sln <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"grpc_async_stream_server.sln <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 293.16KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 293.16KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 284.24KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 284.24KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 13.63KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 13.63KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 13.37KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 13.37KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 10.55KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 10.55KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 10.31KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 10.31KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 4.59KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 4.59KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 4.55KB </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

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