org.ros.node
Interface NodeFactory

All Known Implementing Classes:
DefaultNodeFactory

public interface NodeFactory

Builds new Nodes.


Method Summary
 Node newNode(NodeConfiguration configuration)
          Build a new Node with the given NodeConfiguration.
 Node newNode(NodeConfiguration configuration, java.util.Collection<NodeListener> listeners)
          Build a new Node with the given NodeConfiguration and NodeListeners.
 

Method Detail

newNode

Node newNode(NodeConfiguration configuration)
Build a new Node with the given NodeConfiguration.

Parameters:
configuration - the NodeConfiguration for the new Node
Returns:
a new Node

newNode

Node newNode(NodeConfiguration configuration,
             java.util.Collection<NodeListener> listeners)
Build a new Node with the given NodeConfiguration and NodeListeners.

Parameters:
configuration - the NodeConfiguration for the new Node
listeners - a collection of NodeListener instances which will be registered with the node (can be null)
Returns:
a new Node