DefaultAMQPConnection
open class DefaultAMQPConnection(val config: AMQPConfig, val messageListeningScope: CoroutineScope) : AMQPConnection
Properties
Link copied to clipboard
A flow of blocked responses from the connection. Emitted when the broker signals the connection is resource-constrained.
Link copied to clipboard
Link copied to clipboard
A flow of closed responses from the connection.
Link copied to clipboard
The configuration of the connection.
Link copied to clipboard
A deferred that completes when the connection is closed.
Link copied to clipboard
A deferred that completes when the connection is opened.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A flow of opened responses from the connection.
Link copied to clipboard
The connection state.
Link copied to clipboard
A flow of unblocked responses from the connection. Emitted when the broker signals the connection is no longer resource-constrained.
Link copied to clipboard
Functions
Link copied to clipboard
open suspend override fun close(reason: String, code: <Error class: unknown class>): AMQPResponse.Connection.Closed
Closes the connection.
Link copied to clipboard
Opens a new channel.
Link copied to clipboard
Sends a heartbeat frame.
Link copied to clipboard
inline suspend fun <T : AMQPResponse> writeAndWaitForResponse(vararg frames: <Error class: unknown class>): T