Click or drag to resize

Message Class

Holds a pubnub message. Used for notifications to a user.
Inheritance Hierarchy
SystemObject
  NetQuarry.Services.PubnubMessage

Namespace:  NetQuarry.Services.Pubnub
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class Message

The Message type exposes the following members.

Constructors
  NameDescription
Public methodMessage
Initializes a new instance of the Message class
Top
Properties
  NameDescription
Public propertyack_guid
GUID for the msg, added for PubNub ack
Public propertyalert_type
The alert type (info, success, warning, danger). Default is 'info'
Public propertychannel
The PubNub channel (used for API logging)
Public propertymessage_date
The date of the message
Public propertymessage_type
The named type of the message
Public propertypublish_key
The PubNub publish key used for the publish (used for API logging)
Public propertyvalue
The object payload
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSendAlert
Send an alert to the user. The alert typically should be delivered to the EAP.OnPubNub() javascript method for dispatch to EAP.DeliverMsg().
Public methodStatic memberSendPush
Sends a message to the specified channel.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
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.)
Top
See Also