|
Hermes
Simulation Orchestration Platform for Aerospace
|
Public Member Functions | |
| Command | from_json (cls, str data) |
| None | validate (self) |
Public Attributes | |
| action | |
Static Public Attributes | |
| dict | params = field(default_factory=dict) |
Command received from client.
Attributes:
action: Command action (pause, resume, reset, step, set, subscribe, introspect)
params: Action-specific parameters
| Command hermes.server.protocol.Command.from_json | ( | cls, | |
| str | data ) |
Parse command from JSON string.
Args:
data: JSON string containing command
Returns:
Parsed command
Raises:
ProtocolError: If JSON is invalid or missing required fields
| None hermes.server.protocol.Command.validate | ( | self | ) |
Validate command action and params.
Raises:
ProtocolError: If action is unknown or params are invalid
| hermes.server.protocol.Command.action |
|
static |