struct Matter::InteractionModel::EventPath

Overview

Event path identifying a specific event

Defined in:

matter/interaction_model/paths.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(endpoint : UInt16 | Nil = nil, cluster : UInt32 | Nil = nil, event : UInt32 | Nil = nil, is_urgent : Bool = false) #

[View source]

Instance Method Detail

def ==(other : EventPath) : Bool #

[View source]
def cluster : UInt32 | Nil #

[View source]
def cluster=(cluster : UInt32 | Nil) #

[View source]
def endpoint : UInt16 | Nil #

[View source]
def endpoint=(endpoint : UInt16 | Nil) #

[View source]
def event : UInt32 | Nil #

[View source]
def event=(event : UInt32 | Nil) #

[View source]
def is_urgent : Bool #

[View source]
def is_urgent=(is_urgent : Bool) #

[View source]
def to_s : String #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def wildcard? #

Wildcard path matches all endpoints/clusters/events


[View source]