hypercast
Class NodeFactory

java.lang.Object
  |
  +--hypercast.NodeFactory

public final class NodeFactory
extends java.lang.Object

This class implements methods to create a new node based on the specifications in the configuration object.


Constructor Summary
NodeFactory()
          Constructor.
 
Method Summary
 hypercast.I_Node create_newNode(hypercast.HyperCastConfig config, hypercast.I_UnicastAdapter ss)
          This method creates I_Node object based on the node types specified in the configuration object.
 hypercast.I_Node create_newNode(hypercast.HyperCastConfig config, hypercast.I_UnicastAdapter ss, java.lang.String prefix)
          This method creates I_Node object based on the node types specified in the configuration object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeFactory

public NodeFactory()
Constructor.

Method Detail

create_newNode

public hypercast.I_Node create_newNode(hypercast.HyperCastConfig config,
                                       hypercast.I_UnicastAdapter ss)
This method creates I_Node object based on the node types specified in the configuration object.

Parameters:
config - socket configuration object.
ss - node adapter that is passed to the node constructor.
Returns:
an I_Node object.

create_newNode

public hypercast.I_Node create_newNode(hypercast.HyperCastConfig config,
                                       hypercast.I_UnicastAdapter ss,
                                       java.lang.String prefix)
This method creates I_Node object based on the node types specified in the configuration object.

Parameters:
config - socket configuration object.
ss - node adapter that is passed to the node constructor.
Returns:
an I_Node object.