Class: RocketAMF::Values::RemotingMessage

Inherits:
AbstractMessage show all
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

Attributes inherited from AbstractMessage

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

Instance Method Summary collapse

Methods inherited from AbstractMessage

#clientIdBytes=, #messageIdBytes=, #read_external

Constructor Details

#initializeRemotingMessage

Returns a new instance of RemotingMessage.



80
81
82
83
84
85
86
87
88
# File 'lib/rocketamf/values/messages.rb', line 80

def initialize
  @clientId = nil
  @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



78
79
80
# File 'lib/rocketamf/values/messages.rb', line 78

def operation
  @operation
end

#sourceObject

The name of the service to be called including package name



75
76
77
# File 'lib/rocketamf/values/messages.rb', line 75

def source
  @source
end