Table of Contents

Class ExtAccessoryInfoResponseHandler

Namespace
Z21.Core.ResponseHandler.Switching
Assembly
Z21.Client.dll

Reads the encoded extended accessory decoder state either because it was requested via GetExtAccessoryInfoCommand or the accessory status has been changed by other clients or a handset controller and the client has activated the corresponding broadcast DriveAndSwitchingMessages via SetBroadcastFlagsCommand .

public class ExtAccessoryInfoResponseHandler : IExtAccessoryInfoResponseHandler, IZ21ResponseHandler
Inheritance
ExtAccessoryInfoResponseHandler
Implements
Inherited Members

Constructors

ExtAccessoryInfoResponseHandler(IAddressCodec)

public ExtAccessoryInfoResponseHandler(IAddressCodec addressCodec)

Parameters

addressCodec IAddressCodec

Properties

Name

Human-readable command according to the specification.

public string Name { get; }

Property Value

string

Methods

CanHandle(byte[])

Returns true if this response handler can handle the response. False otherwise.

public bool CanHandle(byte[] response)

Parameters

response byte[]

Returns

bool

Handle(byte[])

public void Handle(byte[] response)

Parameters

response byte[]

Events

OnExtAccessoryInfoReceived

public event EventHandler<ExtAccessoryInfoReceivedEventArgs>? OnExtAccessoryInfoReceived

Event Type

EventHandler<ExtAccessoryInfoReceivedEventArgs>