Class: RSwim::Member::TransmissionState::Off

Inherits:
Base
  • Object
show all
Defined in:
lib/rswim/member/transmission_state/off.rb

Instance Method Summary collapse

Constructor Details

#initialize(id, node_member_id) ⇒ Off

Returns a new instance of Off.



7
8
9
# File 'lib/rswim/member/transmission_state/off.rb', line 7

def initialize(id, node_member_id)
  super(id, node_member_id, nil, [], [])
end

Instance Method Details

#advance(_elapsed_seconds) ⇒ Object



15
16
17
# File 'lib/rswim/member/transmission_state/off.rb', line 15

def advance(_elapsed_seconds)
  self
end

#member_replied_with_ackObject



11
12
13
# File 'lib/rswim/member/transmission_state/off.rb', line 11

def member_replied_with_ack
  logger.debug("out of order ack from member #{@id}")
end