org.jgroups
Class EnsChannelFactory
java.lang.Object
org.jgroups.EnsChannelFactory
- All Implemented Interfaces:
- ChannelFactory
- public class EnsChannelFactory
- extends java.lang.Object
- implements ChannelFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnsChannelFactory
public EnsChannelFactory()
EnsChannelFactory
public EnsChannelFactory(java.lang.String transport_properties,
int outboard_port)
setTransport
public void setTransport(java.lang.String props)
setOutboardPort
public void setOutboardPort(int port)
createChannel
public Channel createChannel(java.lang.Object properties)
throws ChannelException
- Description copied from interface:
ChannelFactory
- Creates an instance implementing the
Channel
interface.
- Specified by:
createChannel
in interface ChannelFactory
- 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.)
createChannel
public Channel createChannel()
throws ChannelException
- No-Op implementation of the createChannel() method specified by the
Channel
interface.
- Specified by:
createChannel
in interface ChannelFactory
- Returns:
- this implementation always returns
null
.
- Throws:
ChannelException
- if the creation of the channel failed.
Copyright ? 2001,2002 www.jgroups.com . All Rights Reserved.