summary refs log tree commit diff
path: root/src/rpcStub.hpp
blob: d183cf3c6d3aaec65f3d634f95131a371af23dd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <grpc++/grpc++.h>
#include "protodefs/include/protos.grpc.pb.h"
#include "rtcPeerHandler.hpp"

#ifndef RPCSTUB
#define RPCSTUB
class rpcStub{
	public:
		rpcStub(std::shared_ptr<rtcPeerHandler> peerHandler, int port);
		std::unique_ptr<grpc::Server> server;
		
	private:
		std::shared_ptr<rtcPeerHandler> ph;
};
#endif