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))
SourceInstance methods
attribute_paths
Sourceattribute_paths=(attribute_paths : Array(InteractionModel::AttributePath))
Sourcemax_interval
Sourcemax_interval=(max_interval : UInt16)
Sourcemin_interval
Sourcemin_interval=(min_interval : UInt16)
Sourceoriginal_msg
Sourceoriginal_msg=(original_msg : Codec::MessageCodec::Message)
Sourcepeer
Sourcepeer=(peer : Socket::IPAddress)
Sourceremaining_chunks
Sourceremaining_chunks=(remaining_chunks : Array(Tuple(Bytes, Bool)))
Sourcesession
Sourcesession=(session : Session::SecureContext)
Sourcesubscription_id
Sourcesubscription_id=(subscription_id : UInt32)
Source