org.eclipse.ecf.datashare.mergeable
Interface IMergeableChannelContainer
- All Superinterfaces:
- IAbstractChannelContainerAdapter
public interface IMergeableChannelContainer
- extends IAbstractChannelContainerAdapter
MergeableChannel container entry point interface. This interface is an
adapter to allow providers to expose mergeable channels to clients. It may be
used in the following way:
IMergeableChannelContainer channelcontainer = (IMergeableChannelContainer) container.getAdapter(IMergeableChannelContainer.class);
if (channelcontainer != null) {
// use channelcontainer
...
} else {
// container does not support channel container functionality
}
createMergeableChannel
IMergeableChannel createMergeableChannel(ID channelID,
IChannelListener listener,
Map properties)
throws ECFException
- Create a mergeable channel within this container
- Parameters:
channelID
- the ID of the mergeable channel createdlistener
- the channel listener associated with this channel to receive
asynchronous eventsproperties
- a Map of properties to provide to the channel.
- Returns:
- IMergeableChannel the mergeable channel created
- Throws:
ECFException
- thrown if mergeable channel cannot be created