SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
String errorMessage
Object headers
AmqpProperties properties
AmqpChannel or AmqpClient target
String type
Constructor Detail |
AmqpEvent(sender, frame, headers)
sender
frame
headers
Method Detail |
ArrayBuffer getBodyAsArrayBuffer()
ArrayBuffer
ByteBuffer getBodyAsByteBuffer()
ByteBuffer