Class: ZooKeeper::Proto::MultiResponseItem
- Inherits:
-
BinData::Record
- Object
- BinData::Record
- ZooKeeper::Proto::MultiResponseItem
- Defined in:
- lib/zkruby/multi.rb
Instance Method Summary collapse
Instance Method Details
#done? ⇒ Boolean
35 36 37 38 |
# File 'lib/zkruby/multi.rb', line 35 def done? # Boolean's don't actually work properly in bindata header.done == true end |
#has_response? ⇒ Boolean
31 32 33 |
# File 'lib/zkruby/multi.rb', line 31 def has_response? !done? && [ -1, 1, 5 ] .include?(header._type) end |