org.ros.rosjava_tutorial_services
Class Server

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

public class Server
extends AbstractNodeMain

This is a simple ServiceServer NodeMain.


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

Server

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