RpcServer

liewhite.rpc.RpcServer
See theRpcServer companion object
class RpcServer(transport: Transport, defaultExchange: String)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def close(): Try[Unit]
def listen(route: String, callback: Delivery => Task[Array[Byte]], queue: Option[String]): ZIO[Any, Throwable, Runtime[Throwable, Unit]]
def publish(exchange: String, route: String, message: Array[Byte], mandatory: Boolean, props: BasicProperties): Task[Unit]

Concrete fields

val channel: Channel