OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
Msg.h File Reference

Go to the source code of this file.

Namespaces

namespace  ot
 
namespace  ot::msg
 

Functions

OT_COMMUNICATION_API_EXPORT 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.
 
OT_COMMUNICATION_API_EXPORT void ot::msg::sendAsync (const std::string &_senderIP, const std::string &_receiverIP, ot::MessageType _type, const std::string &_message, int _timeout=3000, bool _createLogMessage=true)
 Will send the provided message to the microservice framework. The massage will be send asynchronously.