Newer
Older
percord / src / rpcStub.hpp
@Newe Newe on 21 May 2021 326 bytes [add] RpcStub header guards
#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