Packagecom.kaazing.gateway.amqp.client
Classpublic class AmqpArguments

AmqpArguments is a table of optional arguments for AMQP commands



Public Properties
 PropertyDefined by
  entryArray : Array
Table of entries where each entry has a "key", "type" and a "value".
AmqpArguments
Public Methods
 MethodDefined by
  
Create a new AmqpArguments instance
AmqpArguments
  
addInteger(key:String, value:int):AmqpArguments
Adds an integer entry to an AmqpArguments table.
AmqpArguments
  
addLongString(key:String, value:*):AmqpArguments
Adds a long string entry to an AmqpArguments table.
AmqpArguments
  
getEntries(key:String):Array
The function Returns a array of entries that matches the specified key.
AmqpArguments
  
toString():String
AmqpArguments
Property detail
entryArrayproperty
public var entryArray:Array

Table of entries where each entry has a "key", "type" and a "value".

Constructor detail
AmqpArguments()constructor
public function AmqpArguments()

Create a new AmqpArguments instance

Method detail
addInteger()method
public function addInteger(key:String, value:int):AmqpArguments

Adds an integer entry to an AmqpArguments table.

Parameters
key:String — key entry key
 
value:int — value entry value

Returns
AmqpArguments
addLongString()method 
public function addLongString(key:String, value:*):AmqpArguments

Adds a long string entry to an AmqpArguments table.

Parameters
key:String — key entry key
 
value:* — value entry value The value type is so that you can receive null type of message.

Returns
AmqpArguments
getEntries()method 
public function getEntries(key:String):Array

The function Returns a array of entries that matches the specified key. If a null or empty key is passed in, then a null is returned.

Parameters
key:String — name of the entry

Returns
Array
toString()method 
public function toString():String

Returns
String