Class: AMF::Messages::RemotingMessage
- Inherits:
-
AbstractMessage
- Object
- AbstractMessage
- AMF::Messages::RemotingMessage
- Defined in:
- lib/amf/messages.rb
Overview
Maps to flex.messaging.messages.RemotingMessage
Instance Attribute Summary collapse
-
#operation ⇒ Object
The name of the method to be called.
-
#parameters ⇒ Object
The arguments to call the method with.
-
#source ⇒ Object
The name of the service to be called including package name.
Attributes inherited from AbstractMessage
#body, #client_id, #headers, #message_id, #time_to_live, #timestamp
Instance Method Summary collapse
-
#initialize ⇒ RemotingMessage
constructor
A new instance of RemotingMessage.
Methods inherited from AbstractMessage
Constructor Details
#initialize ⇒ RemotingMessage
Returns a new instance of RemotingMessage.
46 47 48 49 50 51 52 53 |
# File 'lib/amf/messages.rb', line 46 def initialize @client_id = rand_uuid @message_id = rand_uuid @timestamp = Time.new.to_i*100 @time_to_live = 0 @headers = {} @body = nil end |
Instance Attribute Details
#operation ⇒ Object
The name of the method to be called
41 42 43 |
# File 'lib/amf/messages.rb', line 41 def operation @operation end |
#parameters ⇒ Object
The arguments to call the method with
44 45 46 |
# File 'lib/amf/messages.rb', line 44 def parameters @parameters end |
#source ⇒ Object
The name of the service to be called including package name
38 39 40 |
# File 'lib/amf/messages.rb', line 38 def source @source end |