CapGdlrCommandBus.CommandRoute

Inherits: RefCounted < Object

Where and how a command runs.

Properties

Methods

void

_init(exec_kind_: ExecKind, target_: String = “”, route_config_: Dictionary = {})

Dictionary

to_dict()

CapGdlrCommandBus.CommandRoute

from_dict(serialized: Dictionary) static


Property Descriptions

StringName target 🔗

Name of the transport adapter for remote execution. See CapGdlrCommandTransport.get_adapter().


ExecKind exec_kind 🔗

Local, remote, or both.


Dictionary route_config 🔗

Free-form options for the transport. GdlrCommandTransportAdapter reads the retry_after_extractor key.


Method Descriptions

void _init(exec_kind_: ExecKind, target_: String = “”, route_config_: Dictionary = {}) 🔗

Creates a route.


Dictionary to_dict() 🔗

Serializes the route. See from_dict().


CapGdlrCommandBus.CommandRoute from_dict(serialized: Dictionary) static 🔗

Restores a route from the output of to_dict().