struct
Movie::Remote::ConnectionStats
- Movie::Remote::ConnectionStats
- Struct
- Value
- Object
Defined in:
movie/remote/connection.crConstructors
Instance Method Summary
- #clone
- #connect_attempts : Int64
- #copy_with(state _state = @state, generation _generation = @generation, connect_attempts _connect_attempts = @connect_attempts, successful_connections _successful_connections = @successful_connections, disconnects _disconnects = @disconnects, heartbeat_timeouts _heartbeat_timeouts = @heartbeat_timeouts, protocol_failures _protocol_failures = @protocol_failures, last_received_at_ms _last_received_at_ms = @last_received_at_ms, pending_asks _pending_asks = @pending_asks, pending_control _pending_control = @pending_control)
- #disconnects : Int64
- #generation : Int64
- #heartbeat_timeouts : Int64
- #last_received_at_ms : Int64
- #pending_asks : Int32
- #pending_control : Int32
- #protocol_failures : Int64
- #state : Connection::State
- #successful_connections : Int64
Constructor Detail
def self.new(state : Connection::State, generation : Int64, connect_attempts : Int64, successful_connections : Int64, disconnects : Int64, heartbeat_timeouts : Int64, protocol_failures : Int64, last_received_at_ms : Int64, pending_asks : Int32, pending_control : Int32)
#
Instance Method Detail
def copy_with(state _state = @state, generation _generation = @generation, connect_attempts _connect_attempts = @connect_attempts, successful_connections _successful_connections = @successful_connections, disconnects _disconnects = @disconnects, heartbeat_timeouts _heartbeat_timeouts = @heartbeat_timeouts, protocol_failures _protocol_failures = @protocol_failures, last_received_at_ms _last_received_at_ms = @last_received_at_ms, pending_asks _pending_asks = @pending_asks, pending_control _pending_control = @pending_control)
#