Method | Description | |
---|---|---|
GetActor ( ) : string |
Mandatory. channel id. NULL if undefined
|
|
GetAuthor ( ) : string |
author of this message. NULL if undefined
|
|
GetConvid ( ) : string |
Mandatory. Filled by the hApi if empty. conversation id. NULL if undefined
|
|
GetHeaders ( ) : Newtonsoft.Json.Linq.JObject |
The list of headers attached to this message. NULL if undefined
|
|
GetLocation ( ) : HLocation |
The geographical location to which the message refer. NULL if undefined
|
|
GetMsgid ( ) : string |
Mandatory. Filled by the hApi. message id. NULL if undefined
|
|
GetPayloadAsBoolean ( ) : bool? |
If payload type is boolean.
|
|
GetPayloadAsDouble ( ) : double? |
If payload type is double.
|
|
GetPayloadAsHCommand ( ) : |
If payload type is HCommand.
|
|
GetPayloadAsHResult ( ) : |
If payload type is HResult.
|
|
GetPayloadAsInt ( ) : int? |
If payload type is int
|
|
GetPayloadAsJArray ( ) : Newtonsoft.Json.Linq.JArray |
If payload type is JArray.
|
|
GetPayloadAsJObject ( ) : Newtonsoft.Json.Linq.JObject |
if payload type is JObject
|
|
GetPayloadAsString ( ) : string |
If payload type is string.
|
|
GetPersistent ( ) : bool? |
If true, the message is not persistent. persist message or not. NULL if undefined
|
|
GetPriority ( ) : HMessagePriority? |
If UNDEFINED, priority lower to 0.
|
|
GetPublished ( ) : long | ||
GetPublishedAsDate ( ) : DateTime? |
Mandatory. The date and time at which the message has been published. NULL if undefined
|
|
GetPublisher ( ) : string |
Mandatory. publisher of this message. NULL if undefined
|
|
GetRef ( ) : string |
|
|
GetRelevance ( ) : long |
Timestamp until which the message is considered as relevant. NULL if undefined
|
|
GetRelevanceAsDate ( ) : DateTime? | ||
GetSent ( ) : long | ||
GetSentAsDate ( ) : DateTime? |
|
|
GetTimeout ( ) : int |
|
|
GetType ( ) : string |
Get type of the message payload. NULL if undefined
|
|
HMessage ( ) : System | ||
HMessage ( Newtonsoft.Json.Linq.JObject jsonObj ) : System | ||
SetActor ( string actor ) : void | ||
SetAuthor ( string author ) : void | ||
SetConvid ( string convid ) : void | ||
SetHeaders ( Newtonsoft.Json.Linq.JObject headers ) : void | ||
SetLocation ( HLocation location ) : void | ||
SetMsgid ( string msgid ) : void | ||
SetPayload ( |
||
SetPayload ( |
||
SetPayload ( Newtonsoft.Json.Linq.JArray payload ) : void | ||
SetPayload ( Newtonsoft.Json.Linq.JObject payload ) : void | ||
SetPayload ( JToken payload ) : void |
Payload type could be instance of JSONObject(HAlert, HAck ...), JSONArray, String, Boolean, Number.
|
|
SetPayload ( bool payload ) : void | ||
SetPayload ( double payload ) : void | ||
SetPayload ( int payload ) : void | ||
SetPayload ( string payload ) : void | ||
SetPersistent ( bool persistent ) : void | ||
SetPriority ( HMessagePriority priority ) : void | ||
SetPublished ( System.DateTime published ) : void | ||
SetPublished ( long published ) : void | ||
SetPublisher ( string publisher ) : void | ||
SetRef ( string @ref ) : void | ||
SetRelevance ( System.DateTime relevance ) : void | ||
SetRelevance ( long relevance ) : void | ||
SetSent ( System.DateTime sent ) : void | ||
SetSent ( long sent ) : void | ||
SetTimeout ( int timeout ) : void | ||
SetType ( string type ) : void |
public GetHeaders ( ) : Newtonsoft.Json.Linq.JObject | ||
return | Newtonsoft.Json.Linq.JObject |
public GetPayloadAsJArray ( ) : Newtonsoft.Json.Linq.JArray | ||
return | Newtonsoft.Json.Linq.JArray |
public GetPayloadAsJObject ( ) : Newtonsoft.Json.Linq.JObject | ||
return | Newtonsoft.Json.Linq.JObject |
public HMessage ( Newtonsoft.Json.Linq.JObject jsonObj ) : System | ||
jsonObj | Newtonsoft.Json.Linq.JObject | |
return | System |
public SetHeaders ( Newtonsoft.Json.Linq.JObject headers ) : void | ||
headers | Newtonsoft.Json.Linq.JObject | |
return | void |
public SetLocation ( HLocation location ) : void | ||
location | HLocation | |
return | void |
public SetPayload ( |
||
payload | ||
return | void |
public SetPayload ( Newtonsoft.Json.Linq.JArray payload ) : void | ||
payload | Newtonsoft.Json.Linq.JArray | |
return | void |
public SetPayload ( Newtonsoft.Json.Linq.JObject payload ) : void | ||
payload | Newtonsoft.Json.Linq.JObject | |
return | void |
public SetPersistent ( bool persistent ) : void | ||
persistent | bool | |
return | void |
public SetPriority ( HMessagePriority priority ) : void | ||
priority | HMessagePriority | |
return | void |
public SetPublished ( System.DateTime published ) : void | ||
published | System.DateTime | |
return | void |
public SetPublished ( long published ) : void | ||
published | long | |
return | void |
public SetPublisher ( string publisher ) : void | ||
publisher | string | |
return | void |
public SetRelevance ( System.DateTime relevance ) : void | ||
relevance | System.DateTime | |
return | void |
public SetRelevance ( long relevance ) : void | ||
relevance | long | |
return | void |
public SetSent ( System.DateTime sent ) : void | ||
sent | System.DateTime | |
return | void |