org.ros.rosjava_tutorial_pubsub
Class Talker

java.lang.Object
  extended by org.ros.node.AbstractNodeMain
      extended by org.ros.rosjava_tutorial_pubsub.Talker
All Implemented Interfaces:
NodeListener, NodeMain

public class Talker
extends AbstractNodeMain

A simple Publisher NodeMain.


Constructor Summary
Talker()
           
 
Method Summary
 GraphName getDefaultNodeName()
           
 void onStart(ConnectedNode connectedNode)
          Called when the Node has started and successfully connected to the master.
 
Methods inherited from class org.ros.node.AbstractNodeMain
onError, onShutdown, onShutdownComplete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Talker

public Talker()
Method Detail

getDefaultNodeName

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

onStart

public void onStart(ConnectedNode connectedNode)
Description copied from interface: NodeListener
Called when the Node has started and successfully connected to the master.

Specified by:
onStart in interface NodeListener
Overrides:
onStart in class AbstractNodeMain
Parameters:
connectedNode - the ConnectedNode that has been started