GATE
|
Public Types | |
enum | LogTypeEnum { LogType_Debug = GATE_MICROSERVICE_LOGTYPE_DEBUG , LogType_Info = GATE_MICROSERVICE_LOGTYPE_INFO , LogType_Status = GATE_MICROSERVICE_LOGTYPE_STATUS , LogType_Warning = GATE_MICROSERVICE_LOGTYPE_WARNING , LogType_Error = GATE_MICROSERVICE_LOGTYPE_ERROR , LogType_Alert = GATE_MICROSERVICE_LOGTYPE_ALERT } |
typedef ObjectImpl< gate_microhost_t > | object_impl_t |
Public Types inherited from gate::ObjectImpl< gate_microhost_t > | |
typedef gate_microhost_t | impl_t |
typedef ObjectImpl< gate_microhost_t > | object_impl_t |
Public Member Functions | |
MicroHost (gate_microhost_t *host) noexcept | |
void | publishMessage (String const &sourceAddress, String const &destinationAddress, String const &msgId, String const &message) |
void | publishObject (String const &sourceAddress, String const &destinationAddress, String const &objId, Object &obj) |
void | subscribeMessages (String const &sourceAddress, String const &destinationAddress, String const &msgId, MicroService &obj, void *userData) |
void | unsubscribeMessages (String const &sourceAddress, String const &destinationAddress, String const &msgId, MicroService &obj, void *userData) |
void | subscribeObjects (String const &sourceAddress, String const &destinationAddress, String const &objId, MicroService &obj, void *userData) |
void | unsubscribeObjects (String const &sourceAddress, String const &destinationAddress, String const &objId, MicroService &obj, void *userData) |
void | remoteInvoke (String const &destinationAddress, String const &method, Struct &inputData, Struct &outputData) |
void | log (uint32_t logType, result_t resultCode, int32_t nativeCode, String const &origin, String const &message) |
Public Member Functions inherited from gate::ObjectImpl< gate_microhost_t > | |
ObjectImpl (impl_t *impl) noexcept | |
ObjectImpl (ObjectImpl const &src) noexcept | |
ObjectImpl & | operator= (ObjectImpl const &that) noexcept |
impl_t * | c_impl () const noexcept |
Public Member Functions inherited from gate::Object | |
Object (gate_object_ptr_t obj_ptr) noexcept | |
Object (Object const &obj) noexcept | |
Object & | operator= (Object const &obj) noexcept |
String | getInterfaceName () |
gate_object_ptr_t | c_impl () noexcept |
bool_t | operator! () const noexcept |
bool_t | empty () const noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from gate::ObjectImpl< gate_microhost_t > | |
void | swap (object_impl_t &that) noexcept |
Protected Member Functions inherited from gate::Object | |
void | swap (Object &that) noexcept |
Protected Attributes inherited from gate::ObjectImpl< gate_microhost_t > | |
impl_t * | impl_ptr |