class

Matter::Protocol::MessageHandler::PendingSubscription

Inherits Reference < Object

Pending subscription responses - keyed by exchange_id After sending ReportData, we wait for StatusResponse before sending SubscribeResponse Supports chunked responses - remaining_chunks stores chunks yet to be sent

Constructors

new(subscription_id : UInt32, min_interval : UInt16, max_interval : UInt16, peer : Socket::IPAddress, session : Matter::Session::SecureContext, original_msg : Matter::Codec::MessageCodec::Message, attribute_paths : Array(Matter::InteractionModel::AttributePath), remaining_chunks : Array(Tuple(Slice(UInt8), Bool)) = [] of Tuple(Bytes, Bool))
Source

Instance methods

attribute_paths
Source
attribute_paths=(attribute_paths : Array(InteractionModel::AttributePath))
Source
max_interval
Source
max_interval=(max_interval : UInt16)
Source
min_interval
Source
min_interval=(min_interval : UInt16)
Source
original_msg
Source
original_msg=(original_msg : Codec::MessageCodec::Message)
Source
peer
Source
peer=(peer : Socket::IPAddress)
Source
remaining_chunks
Source
remaining_chunks=(remaining_chunks : Array(Tuple(Bytes, Bool)))
Source
session
Source
session=(session : Session::SecureContext)
Source
subscription_id
Source
subscription_id=(subscription_id : UInt32)
Source