org.ros.node
Interface NodeMain

All Superinterfaces:
NodeListener
All Known Implementing Classes:
AbstractNodeMain, Client, Listener, Server, Talker

public interface NodeMain
extends NodeListener

Encapsulates a Node with its associated program logic.

NodeMain is the one required NodeListener for Node creation. NodeListener.onStart(ConnectedNode) should be used to set up your program's Publishers, Subscribers, etc.


Method Summary
 GraphName getDefaultNodeName()
           
 
Methods inherited from interface org.ros.node.NodeListener
onError, onShutdown, onShutdownComplete, onStart
 

Method Detail

getDefaultNodeName

GraphName getDefaultNodeName()
Returns:
the name of the Node that will be used if a name was not specified in the Node's associated NodeConfiguration