org.jgroups
public interface ChannelFactory
Method Summary | |
---|---|
Channel | createChannel(Object properties)
Creates an instance implementing the Channel interface. |
Channel | createChannel()
Creates an instance implementing the Channel interface.
|
Deprecated: Channel factories should pass configuration information related to the protocol stack during construction or via another method before attempting to create any channels.
Creates an instance implementing theChannel
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.)
Channel
interface.
Protocol stack configuration information should be passed to implementing factories before this method is called.
Throws: ChannelException if the creation of the channel failed.