OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
Loading...
Searching...
No Matches
OSDP.Net.Model.CommandData.ACUReceiveSize Class Reference

Command data to set the maximum message size the ACU can receive. More...

Inheritance diagram for OSDP.Net.Model.CommandData.ACUReceiveSize:
OSDP.Net.Model.CommandData.CommandData OSDP.Net.Model.PayloadData

Public Member Functions

 ACUReceiveSize (ushort maximumReceiveSize)
override ReadOnlySpan< byte > SecurityControlBlock ()
override byte[] BuildData ()
override string ToString ()
Public Member Functions inherited from OSDP.Net.Model.PayloadData
byte[] BuildData ()
 Converts the payload into a byte array to be sent over the wire.
ReadOnlySpan< byte > SecurityControlBlock ()
 Retrieves the security control block for a specific command data type.
virtual void CustomMessageUpdate (Span< byte > messageBuffer)
 Updates the message data before sending in the specified byte buffer.

Static Public Member Functions

static ACUReceiveSize ParseData (ReadOnlySpan< byte > data)
 Parses the message payload bytes.

Properties

ushort MaximumReceiveSize [get]
 Gets the maximum message size the ACU can receive.
override CommandType CommandType [get]
override byte Code [get]
Properties inherited from OSDP.Net.Model.CommandData.CommandData
CommandType CommandType [get]
 Message command code.
Properties inherited from OSDP.Net.Model.PayloadData
byte Code [get]
 Gets the command or reply code byte value that represent the type of data.
virtual bool IsSecurityInitialization [get]
 Gets a value indicating whether the security initialization is performed by this payload.

Additional Inherited Members

Static Protected Member Functions inherited from OSDP.Net.Model.CommandData.CommandData
static T[] SplitData< T > (int size, Func< byte[], T > parseDataFunction, ReadOnlySpan< byte > payloadData)
 Splits data into multiple elements of type T based on a specified size.

Detailed Description

Command data to set the maximum message size the ACU can receive.

Definition at line 11 of file ACUReceiveSize.cs.

Constructor & Destructor Documentation

◆ ACUReceiveSize()

OSDP.Net.Model.CommandData.ACUReceiveSize.ACUReceiveSize ( ushort maximumReceiveSize)
inline

Definition at line 14 of file ACUReceiveSize.cs.

References MaximumReceiveSize.

Referenced by ParseData().

Member Function Documentation

◆ BuildData()

override byte[] OSDP.Net.Model.CommandData.ACUReceiveSize.BuildData ( )
inline

Definition at line 34 of file ACUReceiveSize.cs.

References MaximumReceiveSize.

◆ ParseData()

ACUReceiveSize OSDP.Net.Model.CommandData.ACUReceiveSize.ParseData ( ReadOnlySpan< byte > data)
inlinestatic

Parses the message payload bytes.

Parameters
dataMessage payload as bytes
Returns
An instance of ACUReceivedSize representing the message payload

Definition at line 42 of file ACUReceiveSize.cs.

References ACUReceiveSize().

Referenced by OSDP.Net.Device.EnqueuePollReply().

◆ ToString()

override string OSDP.Net.Model.CommandData.ACUReceiveSize.ToString ( )
inline

Definition at line 48 of file ACUReceiveSize.cs.

Property Documentation

◆ Code

override byte OSDP.Net.Model.CommandData.ACUReceiveSize.Code
get

Definition at line 28 of file ACUReceiveSize.cs.

◆ CommandType

override CommandType OSDP.Net.Model.CommandData.ACUReceiveSize.CommandType
get

Definition at line 25 of file ACUReceiveSize.cs.

◆ MaximumReceiveSize

ushort OSDP.Net.Model.CommandData.ACUReceiveSize.MaximumReceiveSize
get

Gets the maximum message size the ACU can receive.

Definition at line 22 of file ACUReceiveSize.cs.

Referenced by ACUReceiveSize(), and BuildData().


The documentation for this class was generated from the following file: