org.ros.rosjava_tutorial_services
Class Client

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

public class Client
extends AbstractNodeMain

A simple ServiceClient NodeMain.


Constructor Summary
Client()
           
 
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

Client

public Client()
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