Plegma API  v2
Yodiwo.API.Plegma.WrapperMsg Class Reference

Wrapper class mainly for providing synchronization services to sync-less protocols (mqtt, websockets, etc) More...

Public Types

enum  eMsgFlags : byte { eMsgFlags.None = 0, eMsgFlags.Request = 1 << 0, eMsgFlags.Response = 1 << 1 }
 wrapper message flags More...
 

Public Attributes

eMsgFlags Flags
 message flags (request/response, etc) More...
 
int SyncId
 for RPC blocking calls: synchronization ID Message ID or Request message, or number of previous message that this message is responding to More...
 
string Payload
 JSON Serialized payload More...
 

Detailed Description

Wrapper class mainly for providing synchronization services to sync-less protocols (mqtt, websockets, etc)

Member Enumeration Documentation

wrapper message flags

Enumerator
None 

no flags (async message)

Request 

message is a request

Response 

message is a response to a request

Member Data Documentation

eMsgFlags Yodiwo.API.Plegma.WrapperMsg.Flags

message flags (request/response, etc)

string Yodiwo.API.Plegma.WrapperMsg.Payload

JSON Serialized payload

int Yodiwo.API.Plegma.WrapperMsg.SyncId

for RPC blocking calls: synchronization ID Message ID or Request message, or number of previous message that this message is responding to


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