class DispatchProtocol

Defined in:

knx/disptach_model.cr

Constant Summary

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [DispatchProtocol]
PARTS = [{type: "enum", name: message, cls: typeof(MessageType::RECEIVED.value), onlyif: nil, verify: nil, value: nil, encoding: nil, enum_type: DispatchProtocol::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, endian: nil}, {type: "basic", name: data_size, cls: UInt32, onlyif: nil, verify: nil, value: -> do data.size end, endian: nil}, {type: "bytes", name: data, cls: Slice(UInt8), 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 asn1_ber(name, onlyif = nil, verify = nil, value = nil) #

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

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

[View source]
macro asn1_ber_length(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]
macro ber(name, onlyif = nil, verify = nil, value = nil) #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[View source]
macro mqtt_v3_unsubscribe(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) #