RabbitmqProtocol
expect class RabbitmqProtocol(hostname: String = "localhost", port: Int = 5672, username: String = "guest", password: String = "guest", virtualHost: String = "/") : Protocol
Implement the Channel interface relying on RabbitMQ as a platform for communications.
actual class RabbitmqProtocol(hostname: String, port: Int, username: String, password: String, virtualHost: String) : Protocol
Implement the Communicator interface relying on RabbitMQ as a platform for communications.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun writeToChannel(from: Entity, to: Entity, message: ByteArray): Either<ProtocolError, Unit>
open suspend override fun writeToChannel(from: Entity, to: Entity, message: ByteArray): Either<ProtocolError, Unit>
open suspend override fun writeToChannel(from: Entity, to: Entity, message: ByteArray): Either<ProtocolError, Unit>
open suspend override fun writeToChannel(from: Entity, to: Entity, message: ByteArray): Either<ProtocolError, Unit>