class Matter::Protocol::MessageHandler::PendingSubscription

Overview

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

Defined in:

matter/protocol/message_handler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.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)) #

[View source]

Instance Method Detail

def attribute_paths : Array(InteractionModel::AttributePath) #

[View source]
def attribute_paths=(attribute_paths : Array(InteractionModel::AttributePath)) #

[View source]
def max_interval : UInt16 #

[View source]
def max_interval=(max_interval : UInt16) #

[View source]
def min_interval : UInt16 #

[View source]
def min_interval=(min_interval : UInt16) #

[View source]
def original_msg : Codec::MessageCodec::Message #

[View source]
def original_msg=(original_msg : Codec::MessageCodec::Message) #

[View source]
def peer : Socket::IPAddress #

[View source]
def peer=(peer : Socket::IPAddress) #

[View source]
def remaining_chunks : Array(Tuple(Bytes, Bool)) #

[View source]
def remaining_chunks=(remaining_chunks : Array(Tuple(Bytes, Bool))) #

[View source]
def session : Session::SecureContext #

[View source]
def session=(session : Session::SecureContext) #

[View source]
def subscription_id : UInt32 #

[View source]
def subscription_id=(subscription_id : UInt32) #

[View source]