Class: ZooKeeper::ClosePacket
- Defined in:
- lib/zkruby/protocol.rb
Overview
In the normal case the close packet will be last and will get cleared via disconnected() and :session_expired
Instance Attribute Summary
Attributes inherited from Packet
Attributes inherited from Operation
#callback, #op, #opcode, #request, #response
Instance Method Summary collapse
Methods inherited from Packet
Methods inherited from Operation
Constructor Details
This class inherits a constructor from ZooKeeper::Packet
Instance Method Details
#result(rc) ⇒ Object
113 114 115 |
# File 'lib/zkruby/protocol.rb', line 113 def result(rc) Error::SESSION_EXPIRED == rc ? [ callback, nil, nil, nil ] : super(rc) end |