Class: RocketAMF::Values::RemotingMessage
- Inherits:
-
AbstractMessage
- Object
- AbstractMessage
- RocketAMF::Values::RemotingMessage
- Defined in:
- lib/rocketamf/values/messages.rb
Overview
Maps to flex.messaging.messages.RemotingMessage
Constant Summary
Constants inherited from AbstractMessage
AbstractMessage::EXTERNALIZABLE_FIELDS
Instance Attribute Summary collapse
-
#operation ⇒ Object
The name of the method to be called.
-
#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.
Methods inherited from AbstractMessage
#clientIdBytes=, #messageIdBytes=, #read_external
Constructor Details
#initialize ⇒ RemotingMessage
Returns a new instance of RemotingMessage.
78 79 80 81 82 83 84 85 86 |
# File 'lib/rocketamf/values/messages.rb', line 78 def initialize @clientId = nil @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
76 77 78 |
# File 'lib/rocketamf/values/messages.rb', line 76 def operation @operation end |
#source ⇒ Object
The name of the service to be called including package name
73 74 75 |
# File 'lib/rocketamf/values/messages.rb', line 73 def source @source end |