struct

Swim::Peer

Inherits Struct < Value < Object

One row in the membership table. The struct is copied by value.

Constructors

new(endpoint : Endpoint, incarnation : UInt64, status : Status, updated : Time::Instant, ip : Socket::IPAddress)
Source

Instance methods

alive?
Source
dead?
Source
endpoint
Source
incarnation
Source
status
Source
suspect?
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source
updated
Source
with(incarnation : UInt64, status : Status, updated : Time::Instant) : Peer
Source