class MQTT::V3::SubTopic

Defined in:

mqtt/v3/subscribe.cr

Constant Summary

ENDIAN = ["big"]
KLASS_NAME = [MQTT::V3::SubTopic]
PARTS = [{type: "basic", name: filter_size, cls: UInt16, onlyif: nil, verify: nil, value: -> do filter.bytesize end}, {type: "string", name: filter, cls: String, onlyif: nil, verify: nil, length: -> do filter_size end, value: nil, encoding: nil}, {type: "enum", name: qos, cls: UInt8, onlyif: nil, verify: nil, value: nil, encoding: QoS}] of Nil
REMAINING = [] of Nil

Class Method Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def bytesize #

[View source]
def filter : String #

def filter=(filter : String) #

def filter_size : UInt16 #

def filter_size=(filter_size : UInt16) #

def qos : QoS #

def qos=(qos : QoS) #