ros2cli.daemon package

Submodules

Module contents

class ros2cli.daemon.RequestHandler(request, client_address, server)

Bases: SimpleXMLRPCRequestHandler

rpc_paths = ('/ros2cli/',)
ros2cli.daemon.get_address()
ros2cli.daemon.get_port()
ros2cli.daemon.get_xmlrpc_server_url(address=None)
ros2cli.daemon.main(*, argv=None)
ros2cli.daemon.make_xmlrpc_server() LocalXMLRPCServer

Make local XMLRPC server listening over ros2cli daemon’s default port.

ros2cli.daemon.serve(server: LocalXMLRPCServer, *, timeout: int = 7200)

Serve the ros2cli daemon API using the given server.

Parameters:
  • server – an XMLRPC server instance

  • timeout – how long to wait before shutting down the server due to inactivity.