Class: ZookeeperCallbacks::ACLCallback
- Defined in:
- lib/zookeeper/callbacks.rb
Instance Attribute Summary collapse
-
#acl ⇒ Object
readonly
aget_acl.
-
#return_code ⇒ Object
readonly
aget_acl.
-
#stat ⇒ Object
readonly
aget_acl.
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
#acl ⇒ Object (readonly)
aget_acl
84 85 86 |
# File 'lib/zookeeper/callbacks.rb', line 84 def acl @acl end |
#return_code ⇒ Object (readonly)
aget_acl
84 85 86 |
# File 'lib/zookeeper/callbacks.rb', line 84 def return_code @return_code end |
#stat ⇒ Object (readonly)
aget_acl
84 85 86 |
# File 'lib/zookeeper/callbacks.rb', line 84 def stat @stat end |
Instance Method Details
#initialize_context(hash) ⇒ Object
85 86 87 |
# File 'lib/zookeeper/callbacks.rb', line 85 def initialize_context(hash) @return_code, @acl, @stat, @context = hash[:rc], hash[:acl], hash[:stat], hash[:context] end |