Raw Message Context

API Interface

//Get unique message id
UUID getId();

//Get received protocol port
int getPort();

//Get received protocol channel [UDP|MQTT|HTTP|COAP|TCP|FCM|LORA|FTP|TFTP|FSF|HTTPUF]
DataChannel getChannel();

//Get message header
String getHeader();

//Get domain key
String getDomainKey();

//Get recevied timestamp
Date getReceivedStamp();

//Get message type id
Object getMessageId();

//Get device id
String getDeviceId();

//Get device model
String getDeviceModel();

//Get device firmware's version
String getFirmwareVersion();

//Get platform node id
String getNodeId();

//Get platform node instance id
UUID getNodeUid();

//Get received IP address
String getIpAddress();

//Get message body (data)
String getData();

//Get message type [STANDARD|DOMAIN|GLOBAL|SYSTEM|ORGANIZATION]
MessageType getMessageType();

See Also

Data Context
Raw Context