Package roslaunch :: Module server :: Class ROSLaunchNode
[frames] | no frames]

Class ROSLaunchNode

source code

                object --+    
                         |    
rosgraph.xmlrpc.XmlRpcNode --+
                             |
                            ROSLaunchNode
Known Subclasses:

Base XML-RPC server for roslaunch parent/child processes

Instance Methods
 
__init__(self, handler)
XML RPC Node constructor :param port: port to use for starting XML-RPC API.
source code
 
start(self)
Startup roslaunch server XML-RPC services
source code
 
run(self)
run() should not be called by higher-level code.
source code

Inherited from rosgraph.xmlrpc.XmlRpcNode: set_uri, shutdown

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, handler)
(Constructor)

source code 

XML RPC Node constructor
:param port: port to use for starting XML-RPC API. Set to 0 or omit to bind to any available port, ``int``
:param rpc_handler: XML-RPC API handler for node, `XmlRpcHandler`
:param on_run_error: function to invoke if server.run() throws
  Exception. Server always terminates if run() throws, but this
  enables cleanup routines to be invoked if server goes down, as
  well as include additional debugging. ``fn(Exception)``

Parameters:
Overrides: object.__init__

start(self)

source code 

Startup roslaunch server XML-RPC services

Raises:
Overrides: rosgraph.xmlrpc.XmlRpcNode.start

run(self)

source code 

run() should not be called by higher-level code. ROSLaunchNode overrides underlying xmlrpc.XmlRpcNode implementation in order to log errors.

Overrides: rosgraph.xmlrpc.XmlRpcNode.run