Class: AMF::Values::RemotingMessage

Inherits:
AbstractMessage show all
Defined in:
lib/amf/values/messages.rb

Overview

Maps to flex.messaging.messages.RemotingMessage

Instance Attribute Summary collapse

Attributes inherited from AbstractMessage

#body, #clientId, #destination, #headers, #messageId, #timeToLive, #timestamp

Instance Method Summary collapse

Constructor Details

#initializeRemotingMessage

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

#operationObject

The name of the method to be called



30
31
32
# File 'lib/amf/values/messages.rb', line 30

def operation
  @operation
end

#parametersObject

The arguments to call the method with



33
34
35
# File 'lib/amf/values/messages.rb', line 33

def parameters
  @parameters
end

#sourceObject

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