All Packages Class Hierarchy This Package Previous Next Index
Interface JavaGroups.ChannelFactory
- public interface ChannelFactory
A channel factory takes care of creation of channel implementations. Subclasses will create
different implementations.
-
CreateChannel(Object)
- Creates an instance implementing the
Channel
interface.
CreateChannel
public abstract Channel CreateChannel(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.)
All Packages Class Hierarchy This Package Previous Next Index