Package

eu.shiftforward.adstax.util

rpc

Permalink

package rpc

Visibility
  1. Public
  2. All

Type Members

  1. trait AmqpRpcJsonClient extends AnyRef

    Permalink

    A generic client for RPC clients using AMQP as the transport layer.

  2. case class RpcError(message: String) extends RpcResponse[Nothing] with Product with Serializable

    Permalink

    An error occurred as a result of a RPC call.

    An error occurred as a result of a RPC call.

    message

    the error message

  3. sealed trait RpcResponse[+T] extends AnyRef

    Permalink

    A response to a RPC call.

  4. case class RpcSuccess[T](response: T) extends RpcResponse[T] with Product with Serializable

    Permalink

    A successful RPC response.

    A successful RPC response.

    response

    the RPC response

  5. trait TypeDescriptor[Req, Resp] extends AnyRef

    Permalink

    An evidence that RPC requests of type Req should be sent through routingKey and a response of type Resp is expected.

    An evidence that RPC requests of type Req should be sent through routingKey and a response of type Resp is expected.

    Req

    the type of the request

    Resp

    the type of the response

Value Members

  1. object AmqpRpcJsonClient

    Permalink
  2. object RpcError extends Serializable

    Permalink
  3. object RpcResponse

    Permalink
  4. object RpcSuccess extends Serializable

    Permalink
  5. object TypeDescriptor

    Permalink

Ungrouped