org.javagroups
Interface ChannelFactory

All Known Implementing Classes:
EnsChannelFactory, JChannelFactory

public interface ChannelFactory

A channel factory takes care of creation of channel implementations. Subclasses will create different implementations.


Method Summary
 Channel createChannel(java.lang.Object properties)
          Creates an instance implementing the Channel interface.
 

Method Detail

createChannel

public Channel createChannel(java.lang.Object properties)
                      throws ChannelException
Creates an instance implementing the Channel interface.

Parameters:
properties - The specification of the protocol stack (underneath the channel). A null value means use the default properties.
Throws:
ChannelException - Thrown when the creation of the channel failed, e.g. the properties specified were incompatible (e.g. a missing UDP layer etc.)


Copyright ? 2001,2002 www.javagroups.com . All Rights Reserved.