class
Movie::Remote::AssociationSettings
- Movie::Remote::AssociationSettings
- Reference
- Object
Overview
Tunable lifecycle and security policy for outbound and inbound associations. Transport factories can wrap TCP sockets with TLS without coupling the remoting protocol to certificate provisioning.
Defined in:
movie/remote/association.crConstructors
Instance Method Summary
- #client_transport_factory : ClientTransportFactory | Nil
- #connect(host : String, port : Int32) : IO
- #control_buffer_capacity : Int32
- #control_deduplication_capacity : Int32
- #handshake_timeout : Time::Span
- #heartbeat_interval : Time::Span
- #heartbeat_timeout : Time::Span
-
#reconnect_delay(delay : Time::Span, random : Float64 = Random.rand) : Time::Span
Applies symmetric jitter while preserving reconnect_max_backoff as a hard upper bound.
- #reconnect_factor : Float64
- #reconnect_jitter : Float64
- #reconnect_max_backoff : Time::Span
- #reconnect_min_backoff : Time::Span
- #server_transport_wrapper : ServerTransportWrapper | Nil
- #shared_secret : String | Nil
- #wrap(socket : TCPSocket) : IO
Constructor Detail
Instance Method Detail
def reconnect_delay(delay : Time::Span, random : Float64 = Random.rand) : Time::Span
#
Applies symmetric jitter while preserving reconnect_max_backoff as a hard upper bound. The sample argument makes boundary behavior testable.