|
| | HrpcClient () |
| | constructor More...
|
| |
|
| HrpcClient (const HrpcClient &)=delete |
| | make noncopyable
|
| |
|
HrpcClient & | operator= (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...
|
| |
§ HrpcClient()
| identt::hrpc::HrpcClient::HrpcClient |
( |
| ) |
|
§ 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 |
| msg | google::protobuf::Message* message pointer |
| nothrow | bool 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 |
| address | std::string address |
| service_id | ::identt::hrpc::RemoteCmdTypeE service enum |
| msg | google::protobuf::Message* message pointer |
| nothrow | bool dont throw if true |
- Returns
- bool status true if ok
The documentation for this class was generated from the following files: