org.eclipse.ecf.datashare
Interface IChannelListener

Listener for receiving messages sent to a given channel. The following types
of events may be received asynchronously via this listener:

IChannelMessageEvent - delivered when this channel receives a message.

IChannelConnectEvent - delivered when this container or other remote
containers connect.

IChannelDisconnectEvent - delivered when this channel or other remote
containers disconnect.

Note these methods will be called asynchronously when notifications of remote
changes are received by the provider implementation code. The provider is
free to call the methods below with an arbitrary thread, so the
implementation of these methods must be appropriately prepared.

For example, if the code implementing any of these methods must interact with
user interface code, then it should use code such as the following to execute
on the SWT UI thread: