Delivery interface
屬性
format | |
id | |
link | |
remote_settled | |
remote_state | |
sent | |
settled | |
state | |
tag |
方法
accept() | |
modified(Release |
|
reject(Amqp |
|
release(Release |
|
update(boolean, any) |
屬性詳細資料
format
format: number
屬性值
number
id
id: number
屬性值
number
link
link: Sender | Receiver
屬性值
Sender | Receiver
remote_settled
remote_settled: boolean
屬性值
boolean
remote_state
remote_state?: DeliveryOutcome
屬性值
DeliveryOutcome
sent
sent: boolean
屬性值
boolean
settled
settled: boolean
屬性值
boolean
state
state?: DeliveryOutcome
屬性值
DeliveryOutcome
tag
tag: string | Buffer
屬性值
string | Buffer
方法詳細資料
accept()
function accept()
modified(ReleaseParameters)
function modified(params?: ReleaseParameters)
參數
- params
-
ReleaseParameters
reject(AmqpError)
function reject(error?: AmqpError)
參數
- error
-
AmqpError
release(ReleaseParameters)
function release(params?: ReleaseParameters)
參數
- params
-
ReleaseParameters
update(boolean, any)
function update(settled: boolean, state?: any)
參數
- settled
-
boolean
- state
-
any