SimpleProtocolBuilder

abstract class SimpleProtocolBuilder[P](val codecs: CodecAPI)(implicit protocolTag: ShapeTag[P])

Abstract construct helping the construction of routers and clients for a given protocol. Upon constructing the routers/clients, it will first check that they are indeed annotated with the protocol in question.

class Object
trait Matchable
class Any

Type members

Classlikes

class ClientBuilder[Alg[_[_, _, _, _, _]], Op[_, _, _, _, _], F[_]]
class RouterBuilder[Alg[_[_, _, _, _, _]], Op[_, _, _, _, _], F[_]]
class ServiceBuilder[Alg[_[_, _, _, _, _]], Op[_, _, _, _, _]]

Value members

Concrete methods

def apply[Alg[_[_, _, _, _, _]], Op[_, _, _, _, _]](serviceProvider: Provider[Alg, Op]): ServiceBuilder[Alg, Op]
def routes[Alg[_[_, _, _, _, _]], Op[_, _, _, _, _], F[_]](impl: Monadic[Alg, F])(implicit serviceProvider: Provider[Alg, Op], F: Concurrent[F]): RouterBuilder[Alg, Op, F]

Concrete fields

val codecs: CodecAPI