AbstractOptionalname: stringname of the connection, set in client properties
Optionalplatform: stringused in client properties
Optionallogger: null | Loggeroptional logger instance, defaults to undefined (no logging)
OptionalblockedSet when the server has blocked publishing (connection.blocked reason).
Maximum number of channels negotiated with the server.
Open channels, indexed by channel id.
Whether the connection is closed.
Protected OptionalcloseProtected OptionalconnectMaximum frame size in bytes negotiated with the server.
Heartbeat interval in seconds.
Logger instance, or undefined to disable logging.
OptionalnameConnection name, visible in the RabbitMQ management UI.
OptionalondisconnectCallback when connection is lost
Optionalerror: ErrorThe error that caused the disconnection, if any
Callback for connection-level errors.
Protected OptionalonPassword for authentication.
OptionalplatformPlatform identifier sent in client properties.
Username for authentication.
Virtual host to connect to.
Open a channel
Optionalid: numberAn existing or non existing specific channel
Gracefully close the AMQP connection.
Optionalreason: string = ""might be logged by the server
Protected AbstractcloseAbstractconnectTry establish a connection
Base class for AMQPClients. Implements everything except how to connect, send data and close the socket