class
Matter::SessionManager::CaseSession
- Matter::SessionManager::CaseSession
- Reference
- Object
Overview
CASE session (Certificate-Authenticated Session Establishment)
CASE sessions are established using certificates for operational communication. They persist until explicitly removed or device reset.
Defined in:
matter/session_manager.crConstructors
Instance Method Summary
- #established_at : Time
- #established_at=(established_at : Time)
-
#expired?(timeout : Time::Span = 24.hours) : Bool
Check if session is expired (default: 24 hours)
- #fabric_index : UInt8
- #fabric_index=(fabric_index : UInt8)
- #last_activity : Time
- #last_activity=(last_activity : Time)
- #peer_node_id : UInt64
- #peer_node_id=(peer_node_id : UInt64)
- #session_id : UInt16
- #session_id=(session_id : UInt16)
-
#touch : Nil
Update last activity timestamp
- #vendor_id : UInt16
- #vendor_id=(vendor_id : UInt16)
Constructor Detail
def self.new(session_id : UInt16, fabric_index : UInt8, peer_node_id : UInt64, vendor_id : UInt16 = 65521_u16, established_at : Time = Time.utc, last_activity : Time = Time.utc)
#
Instance Method Detail
def expired?(timeout : Time::Span = 24.hours) : Bool
#
Check if session is expired (default: 24 hours)