MessageEventArgs

MessageEventArgs

Arguments containing details of received message including topic, sender and type.


Constructor

# new MessageEventArgs()

Creates MessageEventArg

Methods

# getDeliveryOption() → {DeliveryOption}

Get how message should be delivered

Returns:
Type
DeliveryOption

# getMessage() → {Message}

Get Message to be delivered

Returns:
Type
Message

# getTopic() → {Topic}

Get Topic to which message belongs

Returns:
Type
Topic

# getTopicName() → {string}

Get Topic on which message is published.

Returns:
Type
string