Class: RSwim::Member::AckResponder
- Inherits:
-
Object
- Object
- RSwim::Member::AckResponder
- Defined in:
- lib/rswim/member/ack_responder.rb
Instance Method Summary collapse
-
#initialize(id) ⇒ AckResponder
constructor
A new instance of AckResponder.
- #prepare_output ⇒ Object
- #schedule_ack(member_id) ⇒ Object
Constructor Details
#initialize(id) ⇒ AckResponder
Returns a new instance of AckResponder.
6 7 8 9 |
# File 'lib/rswim/member/ack_responder.rb', line 6 def initialize(id) @id = id @pending = [] end |
Instance Method Details
#prepare_output ⇒ Object
15 16 17 18 19 |
# File 'lib/rswim/member/ack_responder.rb', line 15 def prepare_output result = @pending @pending = [] result end |