Message Class |
Namespace: NetQuarry.Services.Pubnub
The Message type exposes the following members.
| Name | Description | |
|---|---|---|
| ack_guid |
GUID for the msg, added for PubNub ack
| |
| alert_type |
The alert type (info, success, warning, danger). Default is 'info'
| |
| channel |
The PubNub channel (used for API logging)
| |
| message_date |
The date of the message
| |
| message_type |
The named type of the message
| |
| publish_key |
The PubNub publish key used for the publish (used for API logging)
| |
| value |
The object payload
|
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SendAlert |
Send an alert to the user.
The alert typically should be delivered to the EAP.OnPubNub() javascript method for dispatch to EAP.DeliverMsg().
| |
| SendPush |
Sends a message to the specified channel.
| |
| ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |