class

Swim::Cluster::Outbox

Inherits Reference < Object

Four datagrams cover one probe plus three indirect checks.

Constants

SLOT = 256
SLOTS = 4

Constructors

Instance methods

add(endpoint : Endpoint, plain : Bytes, seal : Seal | Nil) : Nil

Copies one datagram. When seal is set, the ciphertext is written into this outbox. Call this while the cluster lock is held. Seal is not safe for parallel use.

Source
flush(socket : UDPSocket) : Nil
Source