Метод | Описание | |
---|---|---|
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 | ||
Результат | Newtonsoft.Json.Linq.JObject |
public GetPayloadAsHCommand ( ) : |
||
Результат |
public GetPayloadAsJArray ( ) : Newtonsoft.Json.Linq.JArray | ||
Результат | Newtonsoft.Json.Linq.JArray |
public GetPayloadAsJObject ( ) : Newtonsoft.Json.Linq.JObject | ||
Результат | Newtonsoft.Json.Linq.JObject |
public GetPriority ( ) : HMessagePriority? | ||
Результат | HMessagePriority? |
public HMessage ( Newtonsoft.Json.Linq.JObject jsonObj ) : System | ||
jsonObj | Newtonsoft.Json.Linq.JObject | |
Результат | System |
public SetHeaders ( Newtonsoft.Json.Linq.JObject headers ) : void | ||
headers | Newtonsoft.Json.Linq.JObject | |
Результат | void |
public SetLocation ( HLocation location ) : void | ||
location | HLocation | |
Результат | void |
public SetPayload ( |
||
payload | ||
Результат | void |
public SetPayload ( |
||
payload | ||
Результат | void |
public SetPayload ( Newtonsoft.Json.Linq.JArray payload ) : void | ||
payload | Newtonsoft.Json.Linq.JArray | |
Результат | void |
public SetPayload ( Newtonsoft.Json.Linq.JObject payload ) : void | ||
payload | Newtonsoft.Json.Linq.JObject | |
Результат | void |
public SetPayload ( JToken payload ) : void | ||
payload | JToken | |
Результат | void |
public SetPayload ( double payload ) : void | ||
payload | double | |
Результат | void |
public SetPayload ( string payload ) : void | ||
payload | string | |
Результат | void |
public SetPersistent ( bool persistent ) : void | ||
persistent | bool | |
Результат | void |
public SetPriority ( HMessagePriority priority ) : void | ||
priority | HMessagePriority | |
Результат | void |
public SetPublished ( System.DateTime published ) : void | ||
published | System.DateTime | |
Результат | void |
public SetPublished ( long published ) : void | ||
published | long | |
Результат | void |
public SetPublisher ( string publisher ) : void | ||
publisher | string | |
Результат | void |
public SetRelevance ( System.DateTime relevance ) : void | ||
relevance | System.DateTime | |
Результат | void |
public SetRelevance ( long relevance ) : void | ||
relevance | long | |
Результат | void |
public SetSent ( System.DateTime sent ) : void | ||
sent | System.DateTime | |
Результат | void |