Interface AmqpConnectionManager

Hierarchy

  • AmqpConnectionManager

Implemented by

Properties

channelCount: number

Returns the number of registered channels.

connection: Connection

The current connection.

connectionOptions?: AmqpConnectionOptions
heartbeatIntervalInSeconds: number
reconnectTimeInSeconds: number

Methods

  • Parameters

    • event: string
    • listener: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]
            Rest

          Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "connect"
    • listener: ConnectListener

    Returns AmqpConnectionManager

  • Parameters

    • event: "connectFailed"
    • listener: ConnectFailedListener

    Returns AmqpConnectionManager

  • Parameters

    • event: "blocked"
    • listener: ((arg) => void)
        • (arg): void
        • Parameters

          • arg: {
                reason: string;
            }
            • reason: string

          Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "unblocked"
    • listener: (() => void)
        • (): void
        • Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "disconnect"
    • listener: ((arg) => void)
        • (arg): void
        • Parameters

          • arg: {
                err: Error;
            }
            • err: Error

          Returns void

    Returns AmqpConnectionManager

  • Returns Promise<void>

  • Parameters

    • Optional options: {
          timeout?: number;
      }
      Optional
      • Optional timeout?: number

    Returns Promise<void>

  • Parameters

    Returns default

  • Returns boolean

  • Parameters

    • eventName: string | symbol

    Returns Function[]

  • Parameters

    • event: string
    • listener: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]
            Rest

          Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "connect"
    • listener: ConnectListener

    Returns AmqpConnectionManager

  • Parameters

    • event: "connectFailed"
    • listener: ConnectFailedListener

    Returns AmqpConnectionManager

  • Parameters

    • event: "blocked"
    • listener: ((arg) => void)
        • (arg): void
        • Parameters

          • arg: {
                reason: string;
            }
            • reason: string

          Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "unblocked"
    • listener: (() => void)
        • (): void
        • Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "disconnect"
    • listener: ((arg) => void)
        • (arg): void
        • Parameters

          • arg: {
                err: Error;
            }
            • err: Error

          Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: string
    • listener: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]
            Rest

          Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "connect"
    • listener: ConnectListener

    Returns AmqpConnectionManager

  • Parameters

    • event: "connectFailed"
    • listener: ConnectFailedListener

    Returns AmqpConnectionManager

  • Parameters

    • event: "blocked"
    • listener: ((arg) => void)
        • (arg): void
        • Parameters

          • arg: {
                reason: string;
            }
            • reason: string

          Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "unblocked"
    • listener: (() => void)
        • (): void
        • Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "disconnect"
    • listener: ((arg) => void)
        • (arg): void
        • Parameters

          • arg: {
                err: Error;
            }
            • err: Error

          Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: string
    • listener: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]
            Rest

          Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "connect"
    • listener: ConnectListener

    Returns AmqpConnectionManager

  • Parameters

    • event: "connectFailed"
    • listener: ConnectFailedListener

    Returns AmqpConnectionManager

  • Parameters

    • event: "blocked"
    • listener: ((arg) => void)
        • (arg): void
        • Parameters

          • arg: {
                reason: string;
            }
            • reason: string

          Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "unblocked"
    • listener: (() => void)
        • (): void
        • Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "disconnect"
    • listener: ((arg) => void)
        • (arg): void
        • Parameters

          • arg: {
                err: Error;
            }
            • err: Error

          Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: string
    • listener: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]
            Rest

          Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "connect"
    • listener: ConnectListener

    Returns AmqpConnectionManager

  • Parameters

    • event: "connectFailed"
    • listener: ConnectFailedListener

    Returns AmqpConnectionManager

  • Parameters

    • event: "blocked"
    • listener: ((arg) => void)
        • (arg): void
        • Parameters

          • arg: {
                reason: string;
            }
            • reason: string

          Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "unblocked"
    • listener: (() => void)
        • (): void
        • Returns void

    Returns AmqpConnectionManager

  • Parameters

    • event: "disconnect"
    • listener: ((arg) => void)
        • (arg): void
        • Parameters

          • arg: {
                err: Error;
            }
            • err: Error

          Returns void

    Returns AmqpConnectionManager

  • Returns void

  • Parameters

    • event: string
    • listener: ((...args) => void)
        • (...args): void
        • Parameters

          • Rest ...args: any[]
            Rest

          Returns void

    Returns AmqpConnectionManager

Generated using TypeDoc