behavioral-model
behavioral-model copied to clipboard
Implement notification support in `SimpleSwitch`
This PR implements support for notifications (idle timeouts, digests) in SimpleSwitch
when build with PI.
The code of NotificationsCapture
is taken verbatim from SimpleSwitchGrpc
.
Context: Stratum is consuming the SimpleSwitch[Runner]
downstream without gRPC support, as we're implementing that ourselves on top. We'd still like to use digests and idle timeouts, which can be delivered through the PI layer.
@pudelkoM please mark this as "Ready for review" when you believe it is ready to be merged
@pudelkoM sorry for the delay, I must have missed the notification when you marked this PR as "Ready for review". I am merging it now.