Skip to main content

Module event_client

Module event_client 

Source
Expand description

Sans-I/O subscriber state for SIP event packages (RFC 6665).

This module owns no socket, task or clock. A driver applies Output values and feeds responses, NOTIFY requests and fired timer generations back through EventClient. The normative state tables and byte vectors live in docs/specs/event-client.md.

Structs§

Config
Bounded client configuration.
EventClient
Reusable sans-I/O event subscriber.
NotificationMeta
Framework metadata delivered beside a package value.
PackageRejection
A package-controlled final refusal.
Peer
The peer and, for a stream, exact connection generation used by an exchange.
SamePeer
Default fail-closed NOTIFY origin policy.
Start
Driver-supplied fields for one initial SUBSCRIBE.
SubscriptionId
Opaque local identity of one subscription intent.

Enums§

Lifecycle
Public lifecycle state.
Output
One pure action for the I/O-facing driver.
StartError
Failure before an initial request exists.
StateChange
Observable lifecycle facts.
Termination
Typed terminal outcome.
Timer
A fired timer name.
Transport
A transport identity supplied by the I/O driver.

Constants§

DEFAULT_BODY_LIMIT
Default maximum body accepted in either direction.
DEFAULT_CAPACITY
Default number of logical subscriptions held by one client.
DEFAULT_DELIVERY_CAPACITY
Default number of application deliveries retained for one subscription.
DEFAULT_PROBATION_BACKOFF
Default delay for a probation termination without retry-after.
DEFAULT_TIMER_N
RFC 6665’s Timer N: 64 times SIP’s default 500 ms T1.

Traits§

NotifyTrustPolicy
Policy applied before a NOTIFY can select or mutate a dialog.
PackageConsumer
Package-specific parsing behind the generic event lifecycle.

Type Aliases§

Started
Outputs produced while allocating one new subscription.