org.eclipse.ecf.datashare
Interface IChannelConfig

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IIdentifiable
All Known Implementing Classes:
BaseChannelConfig

public interface IChannelConfig
extends org.eclipse.core.runtime.IAdaptable, IIdentifiable

Channel configuration to be used during createChannel to configure the newly created IChannel implementation


Method Summary
 IChannelListener getListener()
          Get listener for channel being created.
 java.util.Map getProperties()
          Get properties for new channel creation
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.ecf.core.identity.IIdentifiable
getID
 

Method Detail

getListener

IChannelListener getListener()
Get listener for channel being created. Typically, provider will call this method during the implementation of createChannel. If this method returns a non-null IChannelListener instance, the newly created channel must notify the given listener when channel events occur. If this method returns null, then no listener will be notified of channel events

Returns:
IChannelListener to use for notification of received channel events. If null, then no listener will be notified of channel events.

getProperties

java.util.Map getProperties()
Get properties for new channel creation

Returns:
Map with properties for new channel