package rpc
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
trait
AmqpRpcJsonClient
extends AnyRef
A generic client for RPC clients using AMQP as the transport layer.
-
case class
RpcError
(message: String) extends RpcResponse[Nothing] with Product with Serializable
An error occurred as a result of a RPC call.
An error occurred as a result of a RPC call.
- message
the error message
-
sealed
trait
RpcResponse
[+T] extends AnyRef
A response to a RPC call.
-
case class
RpcSuccess
[T](response: T) extends RpcResponse[T] with Product with Serializable
A successful RPC response.
A successful RPC response.
- response
the RPC response
-
trait
TypeDescriptor
[Req, Resp] extends AnyRef
An evidence that RPC requests of type
Reqshould be sent throughroutingKeyand a response of typeRespis expected.An evidence that RPC requests of type
Reqshould be sent throughroutingKeyand a response of typeRespis expected.- Req
the type of the request
- Resp
the type of the response
Value Members
- object AmqpRpcJsonClient
- object RpcError extends Serializable
- object RpcResponse
- object RpcSuccess extends Serializable
- object TypeDescriptor