class Movie::Remote::PendingControlBuffer

Overview

Connection-owned bounded buffer for system envelopes awaiting ACK.

Defined in:

movie/remote/control_delivery.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(capacity : Int32) #

[View source]

Instance Method Detail

def acknowledge(stream : String | Nil, sequence : Int64 | Nil) : Nil #

[View source]
def clear : Nil #

[View source]
def offer(envelope : WireEnvelope) : WireEnvelope | Nil #

[View source]
def pending : Array(WireEnvelope) #

[View source]
def rebase : Nil #

[View source]
def size : Int32 #

[View source]