Definition at line 12 of file advertise_service.py.
◆ __init__()
def rosbridge_library.capabilities.advertise_service.AdvertisedServiceHandler.__init__ |
( |
|
self, |
|
|
|
service_name, |
|
|
|
service_type, |
|
|
|
protocol |
|
) |
| |
◆ graceful_shutdown()
def rosbridge_library.capabilities.advertise_service.AdvertisedServiceHandler.graceful_shutdown |
( |
|
self, |
|
|
|
timeout |
|
) |
| |
Signal the AdvertisedServiceHandler to shutdown
Using this, rather than just rospy.Service.shutdown(), allows us
time to stop any active service requests, ending their busy wait
loops.
Definition at line 68 of file advertise_service.py.
◆ handle_request()
def rosbridge_library.capabilities.advertise_service.AdvertisedServiceHandler.handle_request |
( |
|
self, |
|
|
|
req |
|
) |
| |
◆ next_id()
def rosbridge_library.capabilities.advertise_service.AdvertisedServiceHandler.next_id |
( |
|
self | ) |
|
◆ active_requests
rosbridge_library.capabilities.advertise_service.AdvertisedServiceHandler.active_requests |
◆ id_counter
int rosbridge_library.capabilities.advertise_service.AdvertisedServiceHandler.id_counter = 1 |
|
static |
◆ lock
rosbridge_library.capabilities.advertise_service.AdvertisedServiceHandler.lock |
◆ protocol
rosbridge_library.capabilities.advertise_service.AdvertisedServiceHandler.protocol |
◆ responses
dictionary rosbridge_library.capabilities.advertise_service.AdvertisedServiceHandler.responses = {} |
|
static |
◆ service_handle
rosbridge_library.capabilities.advertise_service.AdvertisedServiceHandler.service_handle |
◆ service_name
rosbridge_library.capabilities.advertise_service.AdvertisedServiceHandler.service_name |
◆ service_type
rosbridge_library.capabilities.advertise_service.AdvertisedServiceHandler.service_type |
◆ shutdown_requested
rosbridge_library.capabilities.advertise_service.AdvertisedServiceHandler.shutdown_requested |
The documentation for this class was generated from the following file: