Extends
- BaseClient
Methods
# get_entry(service_name, args) → {Promise.<directory_pb.GetServiceEntryResponse>}
Get the service entry for one particular service specified by name.
Parameters:
| Name | Type | Description |
|---|---|---|
service_name |
string
|
The name of the service to retrieve. |
args |
Object
|
Extra arguments for controlling RPC details. |
Problem communicating with the robot.
RpcError
The service was not found.
NonexistentServiceError
Something went wrong during the directory access.
DirectoryResponseError
The proto message definition of the service entry
Promise.<directory_pb.GetServiceEntryResponse>
# list(args) → {Promise.<Array>}
List all services present on the robot.
Parameters:
| Name | Type | Description |
|---|---|---|
args |
Object
|
Extra arguments for controlling RPC details. |
Problem communicating with the robot.
RpcError
A list of the proto message definitions of all registered services
Promise.<Array>