class BACnet::DataLinkIndicator

Overview

Used to tokenise the IP data stream and differentiate between packet types

Defined in:

bacnet/virtual_link_control/data_link_indicator.cr

Constant Summary

AFTER_DESERIALIZE = [] of Nil

Used to tokenise the IP data stream and differentiate between packet types

BEFORE_SERIALIZE = [] of Nil

Used to tokenise the IP data stream and differentiate between packet types

ENDIAN = ["big"]

Used to tokenise the IP data stream and differentiate between packet types

KLASS_NAME = [BACnet::DataLinkIndicator]

Used to tokenise the IP data stream and differentiate between packet types

PARTS = [{type: "basic", name: protocol, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: request_type, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: request_length, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}] of Nil

Used to tokenise the IP data stream and differentiate between packet types

REMAINING = [] of Nil

Used to tokenise the IP data stream and differentiate between packet types

Class Method Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

Used to tokenise the IP data stream and differentiate between packet types


[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

A group or bit_field captures the endianness at its declaration point, so declaring endian after one would silently leave it system-endian. Fail loudly.


[View source]
def is_ipv4? #

[View source]
def is_ipv6? #

[View source]
def protocol : UInt8 #

def protocol=(protocol : UInt8) #

def request_length : UInt16 #

def request_length=(request_length : UInt16) #

def request_type : UInt8 #

def request_type=(request_type : UInt8) #