abstract struct MQTT::Protocol::SimplePacket

Direct Known Subclasses

Defined in:

mqtt/protocol/packets/packets.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from struct MQTT::Protocol::Packet

bytesize : UInt32 bytesize, initialize initialize, remaining_length : UInt32 remaining_length, to_io(io : MQTT::Protocol::IO) to_io

Constructor methods inherited from struct MQTT::Protocol::Packet

from_io(io : ::IO) : Packet
from_io(io : MQTT::Protocol::IO) : Packet
from_io
, new new

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.from_io(io : MQTT::Protocol::IO, flags : Flags, remaining_length : UInt32) #

[View source]

Instance Method Detail

def to_io(io) #

[View source]