identt
Public Member Functions | List of all members
identt::hrpc::HrpcClient Class Reference

Public Member Functions

 HrpcClient ()
 constructor More...
 
 HrpcClient (const HrpcClient &)=delete
 make noncopyable
 
HrpcClientoperator= (const HrpcClient &)=delete
 
virtual ~HrpcClient ()
 destructor
 
bool SendToMaster (::identt::utils::SharedTable::pointer stptr, ::identt::hrpc::MasterCmdTypeE service_id, google::protobuf::Message *msg, bool nothrow=false)
 SendToMaster : send to master and get output. More...
 
bool SendToRemote (::identt::utils::SharedTable::pointer stptr, std::string address, ::identt::hrpc::RemoteCmdTypeE service_id, google::protobuf::Message *msg, bool nothrow=false)
 SendToRemote : send to remote and get output. More...
 

Constructor & Destructor Documentation

§ HrpcClient()

identt::hrpc::HrpcClient::HrpcClient ( )

constructor

Member Function Documentation

§ SendToMaster()

bool identt::hrpc::HrpcClient::SendToMaster ( ::identt::utils::SharedTable::pointer  stptr,
::identt::hrpc::MasterCmdTypeE  service_id,
google::protobuf::Message *  msg,
bool  nothrow = false 
)

SendToMaster : send to master and get output.

Parameters
stptr::identt::utils::SharedTable::pointer stptr
service_id::identt::hrpc::MasterCmdTypeE service enum
msggoogle::protobuf::Message* message pointer
nothrowbool dont throw if true
Returns
bool status true if ok

§ SendToRemote()

bool identt::hrpc::HrpcClient::SendToRemote ( ::identt::utils::SharedTable::pointer  stptr,
std::string  address,
::identt::hrpc::RemoteCmdTypeE  service_id,
google::protobuf::Message *  msg,
bool  nothrow = false 
)

SendToRemote : send to remote and get output.

Parameters
stptr::identt::utils::SharedTable::pointer stptr
addressstd::string address
service_id::identt::hrpc::RemoteCmdTypeE service enum
msggoogle::protobuf::Message* message pointer
nothrowbool dont throw if true
Returns
bool status true if ok

The documentation for this class was generated from the following files: