class Ashrae::DispatchProtocol

Defined in:

ashrae/bacnet_models.cr

Constant Summary

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [Ashrae::DispatchProtocol]
PARTS = [{type: "enum", name: message, cls: UInt8, onlyif: nil, verify: nil, value: nil, enum_type: MessageType}, {type: "string", name: ip_address, cls: String, onlyif: nil, verify: nil, length: nil, value: nil, encoding: nil}, {type: "basic", name: id_or_port, cls: UInt64, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: data_size, cls: UInt32, onlyif: nil, verify: nil, value: -> do data.size end}, {type: "bytes", name: data, cls: Bytes, onlyif: nil, verify: nil, length: -> do data_size end, value: nil}] of Nil
REMAINING = [] of Nil

Class Method Summary

Macro Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

[View source]

Macro Detail

macro ashrae_dispatch_protocol(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_abort_response(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_apdu_indicator(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_bit_string(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_complex_ack(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_complex_ack_segment(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_confirmed_request(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_confirmed_request_segment(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_data_link_indicator(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_date(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_error_response(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_i_pv4_bvlci(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_i_pv4_bvlci_address(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_i_pv4_bvlci_bdt_entry(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_i_pv4_bvlci_fdt_entry(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci_advertisement(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci_connect_details(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci_header(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci_header_proprietary(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci_proprietary(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci_result(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci_result_error(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_npdu(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_npdu_destination(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_npdu_source(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_object(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_object_identifier(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_property_identifier(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_reject_response(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_segment_ack(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_segment_ack_segment(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_simple_ack(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_time(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_unconfirmed_request(name, onlyif = nil, verify = nil, value = nil) #

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def data : Bytes #

def data=(data : Bytes) #

def data_size : UInt32 #

def data_size=(data_size : UInt32) #

def id_or_port : UInt64 #

def id_or_port=(id_or_port : UInt64) #

def ip_address : String #

def ip_address=(ip_address : String) #

def message : MessageType #

def message=(message : MessageType) #