Class: ZookeeperCallbacks::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 Callback
Instance Method Summary collapse
Methods inherited from Callback
#call, #completed?, #initialize
Constructor Details
This class inherits a constructor from ZookeeperCallbacks::Callback
Instance Attribute Details
#children ⇒ Object (readonly)
aget_children, awget_children
59 60 61 |
# File 'lib/zookeeper/callbacks.rb', line 59 def children @children end |
#return_code ⇒ Object (readonly)
aget_children, awget_children
59 60 61 |
# File 'lib/zookeeper/callbacks.rb', line 59 def return_code @return_code end |
#stat ⇒ Object (readonly)
aget_children, awget_children
59 60 61 |
# File 'lib/zookeeper/callbacks.rb', line 59 def stat @stat end |
Instance Method Details
#initialize_context(hash) ⇒ Object
61 62 63 |
# File 'lib/zookeeper/callbacks.rb', line 61 def initialize_context(hash) @return_code, @children, @stat, @context = hash[:rc], hash[:strings], hash[:stat], hash[:context] end |