org.javagroups
Class EnsChannelFactory

java.lang.Object
  extended byorg.javagroups.EnsChannelFactory
All Implemented Interfaces:
ChannelFactory

public class EnsChannelFactory
extends java.lang.Object
implements ChannelFactory


Constructor Summary
EnsChannelFactory()
           
EnsChannelFactory(java.lang.String transport_properties, int outboard_port)
           
 
Method Summary
 Channel createChannel(java.lang.Object properties)
          Creates an instance implementing the Channel interface.
 void setOutboardPort(int port)
           
 void setTransport(java.lang.String props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnsChannelFactory

public EnsChannelFactory()

EnsChannelFactory

public EnsChannelFactory(java.lang.String transport_properties,
                         int outboard_port)
Method Detail

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.)


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