Class: MessageListener

MessageListener

Interface used to receive asynchronously delivered messages.

new MessageListener()

Creates a MessageListener object used to receive asynchronously delivered messages.

Method Summary

onMessage
Passes a Message to the listener.

Method Detail

onMessage(message)

Passes a Message to the listener.
Parameters:
Name Type Description
message Message passed to the listener.