Class: Zookeeper::Callbacks::StringsCallback
- Defined in:
- lib/zookeeper/callbacks.rb
Instance Attribute Summary collapse
-
#children ⇒ Object
readonly
aget_children, awget_children.
-
#return_code ⇒ Object
readonly
aget_children, awget_children.
-
#stat ⇒ Object
readonly
aget_children, awget_children.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#call, #completed?, create, #initialize
Constructor Details
This class inherits a constructor from Zookeeper::Callbacks::Base
Instance Attribute Details
#children ⇒ Object (readonly)
aget_children, awget_children
75 76 77 |
# File 'lib/zookeeper/callbacks.rb', line 75 def children @children end |
#return_code ⇒ Object (readonly)
aget_children, awget_children
75 76 77 |
# File 'lib/zookeeper/callbacks.rb', line 75 def return_code @return_code end |
#stat ⇒ Object (readonly)
aget_children, awget_children
75 76 77 |
# File 'lib/zookeeper/callbacks.rb', line 75 def stat @stat end |
Instance Method Details
#initialize_context(hash) ⇒ Object
77 78 79 |
# File 'lib/zookeeper/callbacks.rb', line 77 def initialize_context(hash) @return_code, @children, @stat, @context = hash[:rc], hash[:strings], hash[:stat], hash[:context] end |