Class: ManageIQ::Messaging::ReceivedMessage
- Inherits:
-
Object
- Object
- ManageIQ::Messaging::ReceivedMessage
- Defined in:
- lib/manageiq/messaging/received_message.rb
Instance Attribute Summary collapse
-
#ack_ref ⇒ Object
Returns the value of attribute ack_ref.
-
#client ⇒ Object
Returns the value of attribute client.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#message ⇒ Object
Returns the value of attribute message.
-
#payload ⇒ Object
Returns the value of attribute payload.
-
#sender ⇒ Object
Returns the value of attribute sender.
Instance Method Summary collapse
- #ack ⇒ Object
-
#initialize(sender, message, payload, headers, ack_ref, client) ⇒ ReceivedMessage
constructor
A new instance of ReceivedMessage.
Constructor Details
#initialize(sender, message, payload, headers, ack_ref, client) ⇒ ReceivedMessage
Returns a new instance of ReceivedMessage.
6 7 8 |
# File 'lib/manageiq/messaging/received_message.rb', line 6 def initialize(sender, , payload, headers, ack_ref, client) @sender, @message, @payload, @headers, @ack_ref, @client = sender, , payload, headers, ack_ref, client end |
Instance Attribute Details
#ack_ref ⇒ Object
Returns the value of attribute ack_ref.
4 5 6 |
# File 'lib/manageiq/messaging/received_message.rb', line 4 def ack_ref @ack_ref end |
#client ⇒ Object
Returns the value of attribute client.
4 5 6 |
# File 'lib/manageiq/messaging/received_message.rb', line 4 def client @client end |
#headers ⇒ Object
Returns the value of attribute headers.
4 5 6 |
# File 'lib/manageiq/messaging/received_message.rb', line 4 def headers @headers end |
#message ⇒ Object
Returns the value of attribute message.
4 5 6 |
# File 'lib/manageiq/messaging/received_message.rb', line 4 def @message end |
#payload ⇒ Object
Returns the value of attribute payload.
4 5 6 |
# File 'lib/manageiq/messaging/received_message.rb', line 4 def payload @payload end |
#sender ⇒ Object
Returns the value of attribute sender.
4 5 6 |
# File 'lib/manageiq/messaging/received_message.rb', line 4 def sender @sender end |
Instance Method Details
#ack ⇒ Object
10 11 12 |
# File 'lib/manageiq/messaging/received_message.rb', line 10 def ack client.ack(ack_ref) end |