RTC Toolkit 6.0.0
Loading...
Searching...
No Matches
client.DeploymentDaemonClient Class Reference

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.
 

Detailed Description

This class provides methods to invoke deployment daemon commands.

It is important to invoke get_endpoint method before any other deployment daemon command.

Member Function Documentation

◆ _get_service_discovery()

client.DeploymentDaemonClient._get_service_discovery ( self)
protected

Retrieves from the service discovery the daemon endpoint.

◆ cmd()

client.DeploymentDaemonClient.cmd ( self,
cmd,
args = [] )

Generic command invocation.

◆ set_name()

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'

◆ set_service_discovery_uri()

client.DeploymentDaemonClient.set_service_discovery_uri ( self,
service_discovery_uri )

Sets the service discovery URI (endpoint).

◆ set_timeouts()

client.DeploymentDaemonClient.set_timeouts ( self,
time_out )

Sets the timeouts for both request and reply for the command invocation.

Default is 20s

Member Data Documentation

◆ cmd_namespace

str client.DeploymentDaemonClient.cmd_namespace = "::rtctkif::DeploymentCmds::"
static

◆ conn_to

client.DeploymentDaemonClient.conn_to = datetime.timedelta(seconds=20)
static

◆ dd_name

str client.DeploymentDaemonClient.dd_name = "deployment_daemon"
static

◆ reply_to

client.DeploymentDaemonClient.reply_to = datetime.timedelta(seconds=20)
static

◆ request_reply_str

str client.DeploymentDaemonClient.request_reply_str = ""
static

◆ sender

client.DeploymentDaemonClient.sender = MsgSend()
static

◆ service_discovery_uri

client.DeploymentDaemonClient.service_discovery_uri = service_discovery_uri

The documentation for this class was generated from the following file: