Functions | |
| OT_COMMUNICATION_API_EXPORT bool | send (const std::string &_senderIP, const std::string &_receiverIP, ot::MessageType _type, const std::string &_message, std::string &_response, int _timeout=3000, bool _shutdownMessage=false, bool _createLogMessage=true) |
| Will send the provided message to the microservice framework. Returns true if succeeded. | |
| OT_COMMUNICATION_API_EXPORT void | sendAsync (const std::string &_senderIP, const std::string &_receiverIP, ot::MessageType _type, const std::string &_message, int _timeout=3000) |
| Will send the provided message to the microservice framework. The massage will be send asynchronously. | |
| bool ot::msg::send | ( | const std::string & | _senderIP, |
| const std::string & | _receiverIP, | ||
| ot::MessageType | _type, | ||
| const std::string & | _message, | ||
| std::string & | _response, | ||
| int | _timeout = 3000, | ||
| bool | _shutdownMessage = false, | ||
| bool | _createLogMessage = true ) |
Will send the provided message to the microservice framework. Returns true if succeeded.
| _timeout | Timeout of waiting for response in ms |
| void ot::msg::sendAsync | ( | const std::string & | _senderIP, |
| const std::string & | _receiverIP, | ||
| ot::MessageType | _type, | ||
| const std::string & | _message, | ||
| int | _timeout = 3000 ) |
Will send the provided message to the microservice framework. The massage will be send asynchronously.
| _senderIP | The sender IP address |
| _receiverIP | The receiver IP address |
| _message | The message to send |
| _response | Here the response will be written to |