Skip to main content

GatewayEvent

Defined in the protocols module.
A gateway event with metadata. Attributes: type: The event type data: Event payload event_id: Unique event identifier timestamp: Event creation time source: Source identifier (agent_id, client_id, etc.) target: Target identifier (optional, for directed events)

Properties

type
Union
No description available.
data
Dict
No description available.
event_id
str
No description available.
timestamp
float
No description available.
source
Optional
No description available.
target
Optional
No description available.
  • from_dict: Create from dictionary.
  • to_dict: Convert to dictionary for serialization.