Table of Contents

Class UnknownCommandResponseHandler

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

The following packet is sent from the Z21 to the client in response to an invalid request.

public class UnknownCommandResponseHandler : IUnknownCommandResponseHandler, IZ21ResponseHandler
Inheritance
UnknownCommandResponseHandler
Implements
Inherited Members

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

OnUnknownCommandReceived

public event EventHandler<UnknownCommandReceivedEventArgs>? OnUnknownCommandReceived

Event Type

EventHandler<UnknownCommandReceivedEventArgs>