Members
(readonly) DataTypes :Symbol
Data types.
Type:
- Symbol
- Source:
(readonly) Errors :string
Errors.
Type:
- string
- Source:
(readonly) Events :string
Events.
Type:
- string
- Source:
(readonly) Status :Symbol
Connection/Queue status.
Type:
- Symbol
- Source:
Type Definitions
AmqpMessage
The message that contains payload and meta data for acknowledgement.
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
payload |
Buffer | The message payload. |
meta |
amqplib.Message | The meta data that is used for acknowledgement. You should not access this property. |
- Source:
AmqpQueueMsgHandler(queue, msg)
Message handler.
Parameters:
Name | Type | Description |
---|---|---|
queue |
AmqpQueue | The relative queue that receives the incoming message. |
msg |
AmqpMessage | The incoming message. |
- Source:
MqttMessage
The message that contains payload and meta data for acknowledgement.
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
payload |
Buffer | The message payload. |
- Source:
MqttQueueMsgHandler(queue, msg)
Message handler.
Parameters:
Name | Type | Description |
---|---|---|
queue |
MqttQueue | The relative queue that receives the incoming message. |
msg |
MqttMessage | The incoming message. |
- Source:
PacketHandler
Packet handler object.
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
topic |
string | The relative topic of the queue (with shared prefix or not). |
qos |
number | 0 for best-effort and 1 for reliable. |
handler |
function |
- Source: