Skip to content

NotifyFrame

autogen.beta.network.transport.frames.NotifyFrame dataclass #

NotifyFrame(envelope, recipient_id='')

hub → client: deliver an envelope to a specific participant.

recipient_id is the agent id this delivery is for — the hub already iterates per-recipient when dispatching, so stamping the target on the frame lets the HubClient demux directly without re-walking the session participants. Required so broadcasts (audience=None) route correctly when one connection hosts multiple identities.

kind class-attribute #

kind = 'notify'

envelope instance-attribute #

envelope

recipient_id class-attribute instance-attribute #

recipient_id = ''