Class AmqpEvent

AmqpEvent


Field Summary
String errorMessage
          Specifies the error message when the event type is "error".
Object headers
          This has been deprecated.
AmqpProperties properties
          The content properties for message events.
AmqpChannel or AmqpClient target
          The target object that dispatched the event.
String type
          Indicates the type of the event.
 
Constructor Summary
AmqpEvent(sender, frame, headers)
            AmqpEvent is dispatched to event listeners and callback functions registered when using AmqpClient and AmqpChannel
 
Method Summary
 ArrayBuffer getBodyAsArrayBuffer()
           Returns the body or the payload of the event as an ArrayBuffer.
 ByteBuffer getBodyAsByteBuffer()
           Returns the body or the payload of the event as a ByteBuffer.
 
Field Detail

errorMessage

String errorMessage

headers

Object headers

properties

AmqpProperties properties

target

AmqpChannel or AmqpClient target

type

String type

Constructor Detail

AmqpEvent

AmqpEvent(sender, frame, headers)

Method Detail

getBodyAsArrayBuffer

ArrayBuffer getBodyAsArrayBuffer()

getBodyAsByteBuffer

ByteBuffer getBodyAsByteBuffer()

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