org.eclipse.ecf.datashare.events
Interface IChannelMessageEvent

All Superinterfaces:
IChannelEvent

public interface IChannelMessageEvent
extends IChannelEvent

Channel message event. This event is received by IChannelListeners when a remote sends a message (via IChannel.sendMessage)


Method Summary
 byte[] getData()
          Get data associated with message.
 ID getFromContainerID()
          Get ID of sender container
 
Methods inherited from interface org.eclipse.ecf.datashare.events.IChannelEvent
getChannelID
 

Method Detail

getFromContainerID

ID getFromContainerID()
Get ID of sender container

Returns:
ID of sender's container. Will not be null.

getData

byte[] getData()
Get data associated with message. This method returns the data actually included in the IChannel.sendMessage().

Returns:
byte [] data associated with channel message. Will not be null, but may be empty array byte[0].