Class AmqpClient

AmqpClient models the CONNECTION class defined in AMQP 0-9-1 protocol by abstracting the methods defined in the protocol and exposing a far simpler API. Application developers should use AmqpClientFactory#createAmqpClient() function to create an instance of AmqpClient.


Field Summary
Function onclose
          The onclose handler is called when the connection closes.
Function onerror
          The onerror handler is called when the .
Function onopen
          The onopen handler is called when the connection opens.
 
Constructor Summary
AmqpClient(factory)
            Application developers should use AmqpClientFactory.createAmqpClient() function to create an instance of AmqpClient.
 
Method Summary
 void connect(config, callback)
           Connects to the AMQP broker at the given URL with given credentials using Configuration style API with named parameters/properties.
 void disconnect()
           Disconnect from the AMQP broker
 AmqpClientFactory getAmqpClientFactory()
           Returns the AmqpClientFactory that was used to create AmqpClient.
 AmqpChannel openChannel(callback)
           Opens an AMQP Channel
 
Field Detail

onclose

Function onclose

onerror

Function onerror

onopen

Function onopen

Constructor Detail

AmqpClient

AmqpClient(factory)

Method Detail

connect

void connect(config, callback)

disconnect

void disconnect()

getAmqpClientFactory

AmqpClientFactory getAmqpClientFactory()

openChannel

AmqpChannel openChannel(callback)

Documentation generated by JsDoc Toolkit 1.3.3 on Thu Sep 25 2014 15:48:01 GMT-0700 (PDT)