summary refs log tree commit diff
path: root/src/rpcStub.hpp
diff options
context:
space:
mode:
authorNewe <speedy.wolfy@outlook.com>2021-05-21 15:48:56 +0200
committerNewe <speedy.wolfy@outlook.com>2021-05-21 15:48:56 +0200
commitf8eceb3124ac4149f180b496082d9965f6b8c1b6 (patch)
tree47487bac892663390c61c622acc2e2dec7606b64 /src/rpcStub.hpp
parent[edit] Set rpcStub.server to public (diff)
downloadserver-f8eceb3124ac4149f180b496082d9965f6b8c1b6.tar.xz
[edit] Hypothetical gRPC handshake
Diffstat (limited to '')
-rw-r--r--src/rpcStub.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rpcStub.hpp b/src/rpcStub.hpp

index 99d6d582..f567cd97 100644 --- a/src/rpcStub.hpp +++ b/src/rpcStub.hpp
@@ -1,11 +1,12 @@ #include <grpc++/grpc++.h> #include "protodefs/include/protos.grpc.pb.h" +#include "rtcPeerHandler.hpp" class rpcStub{ public: - rpcStub(int port); + rpcStub(std::shared_ptr<rtcPeerHandler> peerHandler, int port); std::unique_ptr<grpc::Server> server; - private: - + private: + std::shared_ptr<rtcPeerHandler> ph; }; \ No newline at end of file