Class: DeepConnect::Event::MQRequest
- Inherits:
-
IteratorRequest
- Object
- Event
- Request
- RequestWithBlock
- IteratorRequest
- DeepConnect::Event::MQRequest
- Defined in:
- lib/deep-connect/event.rb
Instance Attribute Summary collapse
-
#callback ⇒ Object
readonly
Returns the value of attribute callback.
Attributes inherited from RequestWithBlock
Attributes inherited from Request
Attributes inherited from Event
Class Method Summary collapse
- .receipt(session, seq, receiver, method, args, callback) ⇒ Object
- .request(session, receiver, method, args, callback) ⇒ Object
Instance Method Summary collapse
-
#initialize(session, receiver, method, args, callback = nil) ⇒ MQRequest
constructor
A new instance of MQRequest.
- #reply_class ⇒ Object
Methods inherited from IteratorRequest
#method_spec, #mspec_arg_zip, #mspec_args, receiver, #receiver_id
Methods inherited from RequestWithBlock
Methods inherited from Request
#create_exception, #init_req, #inspect, materialize_sub, #reply, #request?, #result, #result=, #result_event, #serialize, #set_seq
Methods inherited from Event
Constructor Details
#initialize(session, receiver, method, args, callback = nil) ⇒ MQRequest
Returns a new instance of MQRequest.
333 334 335 336 |
# File 'lib/deep-connect/event.rb', line 333 def initialize(session, receiver, method, args, callback = nil) super(session, receiver, method, args, callback) @callback = callback end |
Instance Attribute Details
#callback ⇒ Object (readonly)
Returns the value of attribute callback.
337 338 339 |
# File 'lib/deep-connect/event.rb', line 337 def callback @callback end |