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.
- Event
Client - Reusable sans-I/O event subscriber.
- Notification
Meta - Framework metadata delivered beside a package value.
- Package
Rejection - A package-controlled final refusal.
- Peer
- The peer and, for a stream, exact connection generation used by an exchange.
- Same
Peer - Default fail-closed NOTIFY origin policy.
- Start
- Driver-supplied fields for one initial SUBSCRIBE.
- Subscription
Id - Opaque local identity of one subscription intent.
Enums§
- Lifecycle
- Public lifecycle state.
- Output
- One pure action for the I/O-facing driver.
- Start
Error - Failure before an initial request exists.
- State
Change - 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§
- Notify
Trust Policy - Policy applied before a NOTIFY can select or mutate a dialog.
- Package
Consumer - Package-specific parsing behind the generic event lifecycle.
Type Aliases§
- Started
- Outputs produced while allocating one new subscription.