Skip to content

Latest commit

 

History

History
184 lines (108 loc) · 2.86 KB

ExchangeFanOut.md

File metadata and controls

184 lines (108 loc) · 2.86 KB

RedisSMQ / Docs / API Reference / ExchangeFanOut

Class: ExchangeFanOut

Hierarchy

  • ExchangeAbstract<string>

    ExchangeFanOut

Table of contents

Constructors

Methods

Constructors

constructor

new ExchangeFanOut(): ExchangeFanOut

Returns

ExchangeFanOut

Inherited from

ExchangeAbstract<string>.constructor

Methods

bindQueue

bindQueue(queue, exchangeParams, cb): void

Parameters

Name Type
queue string | IQueueParams
exchangeParams string
cb ICallback<void>

Returns

void


deleteExchange

deleteExchange(exchangeParams, cb): void

Parameters

Name Type
exchangeParams string
cb ICallback<void>

Returns

void


getAllExchanges

getAllExchanges(cb): void

Parameters

Name Type
cb ICallback<string[]>

Returns

void


getQueueExchange

getQueueExchange(queue, cb): void

Parameters

Name Type
queue string | IQueueParams
cb ICallback<null | string>

Returns

void


getQueues

getQueues(exchangeParams, cb): void

Parameters

Name Type
exchangeParams string
cb ICallback<IQueueParams[]>

Returns

void

Overrides

ExchangeAbstract.getQueues


saveExchange

saveExchange(exchangeParams, cb): void

Parameters

Name Type
exchangeParams string
cb ICallback<void>

Returns

void


shutdown

shutdown(cb): void

Parameters

Name Type
cb ICallback<void>

Returns

void

Inherited from

ExchangeAbstract.shutdown


unbindQueue

unbindQueue(queue, exchangeParams, cb): void

Parameters

Name Type
queue string | IQueueParams
exchangeParams string
cb ICallback<void>

Returns

void