Class: AMF::Values::RemotingMessage
- Inherits:
-
AbstractMessage
- Object
- AbstractMessage
- AMF::Values::RemotingMessage
- Defined in:
- lib/amf/values/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, #clientId, #destination, #headers, #messageId, #timeToLive, #timestamp
Instance Method Summary collapse
-
#initialize ⇒ RemotingMessage
constructor
A new instance of RemotingMessage.
Constructor Details
#initialize ⇒ RemotingMessage
Returns a new instance of RemotingMessage.
35 36 37 38 39 40 41 42 43 |
# File 'lib/amf/values/messages.rb', line 35 def initialize @clientId = rand_uuid @destination = nil @messageId = rand_uuid @timestamp = Time.new.to_i*100 @timeToLive = 0 @headers = {} @body = nil end |
Instance Attribute Details
#operation ⇒ Object
The name of the method to be called
30 31 32 |
# File 'lib/amf/values/messages.rb', line 30 def operation @operation end |
#parameters ⇒ Object
The arguments to call the method with
33 34 35 |
# File 'lib/amf/values/messages.rb', line 33 def parameters @parameters end |
#source ⇒ Object
The name of the service to be called including package name
27 28 29 |
# File 'lib/amf/values/messages.rb', line 27 def source @source end |