MessageEvent

public interface MessageEvent

Information about a message received by a {@linkplain MessageApi.MessageListener listener}.

Public Method Summary

abstract byte[]
getData()
Returns the data passed by the message.
abstract String
getPath()
Returns the path the message is being delivered to
abstract int
getRequestId()
Returns the request id of the message, generated by the sender
abstract String
getSourceNodeId()
Returns the node ID of the sender.

Public Methods

public abstract byte[] getData ()

Returns the data passed by the message.

public abstract String getPath ()

Returns the path the message is being delivered to

public abstract int getRequestId ()

Returns the request id of the message, generated by the sender

public abstract String getSourceNodeId ()

Returns the node ID of the sender.