|
RTC Toolkit 6.0.0
|
This class provides methods to invoke deployment daemon commands. More...
Public Member Functions | |
| set_name (self, name) | |
| Sets the name of the deployment daemon that we want to talk with. | |
| set_timeouts (self, time_out) | |
| Sets the timeouts for both request and reply for the command invocation. | |
| set_service_discovery_uri (self, service_discovery_uri) | |
| Sets the service discovery URI (endpoint). | |
| cmd (self, cmd, args=[]) | |
| Generic command invocation. | |
Public Attributes | |
| service_discovery_uri = service_discovery_uri | |
Static Public Attributes | |
| str | dd_name = "deployment_daemon" |
| str | cmd_namespace = "::rtctkif::DeploymentCmds::" |
| str | request_reply_str = "" |
| conn_to = datetime.timedelta(seconds=20) | |
| reply_to = datetime.timedelta(seconds=20) | |
| sender = MsgSend() | |
Protected Member Functions | |
| _get_service_discovery (self) | |
| Retrieves from the service discovery the daemon endpoint. | |
This class provides methods to invoke deployment daemon commands.
It is important to invoke get_endpoint method before any other deployment daemon command.
|
protected |
Retrieves from the service discovery the daemon endpoint.
| client.DeploymentDaemonClient.cmd | ( | self, | |
| cmd, | |||
| args = [] ) |
Generic command invocation.
| client.DeploymentDaemonClient.set_name | ( | self, | |
| name ) |
Sets the name of the deployment daemon that we want to talk with.
If name is not provided is taken default name: 'deployment_daemon'
| client.DeploymentDaemonClient.set_service_discovery_uri | ( | self, | |
| service_discovery_uri ) |
Sets the service discovery URI (endpoint).
| client.DeploymentDaemonClient.set_timeouts | ( | self, | |
| time_out ) |
Sets the timeouts for both request and reply for the command invocation.
Default is 20s
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| client.DeploymentDaemonClient.service_discovery_uri = service_discovery_uri |