AutoworkE2EConfig๏ƒ

Inherits: RefCounted < Object

Configuration provider for the Autowork End-to-End WebSocket framework.

Description๏ƒ

This class parses the --aw-e2e environment configuration injected from the command line, exposing it globally for the testing servers to resolve port assignments and authentication keys.

Methods๏ƒ

String

get_host() static

int

get_port() static

String

get_port_file() static

String

get_token() static

bool

is_enabled() static

bool

is_logging() static


Method Descriptions๏ƒ

String get_host() static ๐Ÿ”—

Returns the host address currently assigned to the E2E instance. By default, this is dynamically determined unless explicitly overridden.


int get_port() static ๐Ÿ”—

Returns the TCP/WebSocket port the orchestrator is demanding. Configurable via --aw-e2e-port.


String get_port_file() static ๐Ÿ”—

Returns the absolute location of the ephemeral .port file if the orchestrator requested file-based port acquisition over standard stdout parsing.


String get_token() static ๐Ÿ”—

Returns the secure runtime token (shared HMAC key) that client script orchestrators must provide inside their payloads for successful WebSocket handshakes. Configured via --aw-e2e-token.


bool is_enabled() static ๐Ÿ”—

Returns true if Autowork E2E routing is fully initialized. Typically, this is achieved by either explicitly setting Project Settings or passing the --aw-e2e command line parameter.


bool is_logging() static ๐Ÿ”—

Returns true if granular socket and command dispatch logging output is permitted to print into the stdout log file. Triggered via --aw-e2e-log.