class Minion::IoDetails

Defined in:

minion/io_details.cr

Constant Summary

MAX_MESSAGE_LENGTH = 65536

Constructors

Instance Method Summary

Constructor Detail

def self.new(data_buffer : Slice(UInt8) = Slice(UInt8).new(MAX_MESSAGE_LENGTH), message_buffer : Slice(UInt8) = Slice(UInt8).new(1), message_bytes_read : UInt16 = 0_u16, message_size : UInt16 = 0_u16, read_message_body : Bool = false, read_message_size : Bool = true, receive_size_buffer : Slice(UInt8) = Slice(UInt8).new(2), send_size_buffer : Slice(UInt8) = Slice(UInt8).new(2), size_read : UInt16 = 0_u16) #

[View source]

Instance Method Detail

def data_buffer : Slice(UInt8) #

[View source]
def data_buffer=(data_buffer : Slice(UInt8)) #

[View source]
def message_buffer : Slice(UInt8) #

[View source]
def message_buffer=(message_buffer : Slice(UInt8)) #

[View source]
def message_bytes_read : UInt16 #

[View source]
def message_bytes_read=(message_bytes_read : UInt16) #

[View source]
def message_size : UInt16 #

[View source]
def message_size=(message_size : UInt16) #

[View source]
def read_message_body : Bool #

[View source]
def read_message_body=(read_message_body : Bool) #

[View source]
def read_message_size : Bool #

[View source]
def read_message_size=(read_message_size : Bool) #

[View source]
def receive_size_buffer : Slice(UInt8) #

[View source]
def receive_size_buffer=(receive_size_buffer : Slice(UInt8)) #

[View source]
def send_size_buffer : Slice(UInt8) #

[View source]
def send_size_buffer=(send_size_buffer : Slice(UInt8)) #

[View source]
def size_read : UInt16 #

[View source]
def size_read=(size_read : UInt16) #

[View source]