eu.shiftforward.adstax.recommender.api.rpc
The AMQP client to use
The AMQP client to use
Dispatches a request message with a Future of a concrete response type.
Dispatches a request message with a Future of a concrete response type.
the type of the request message
the response type that the callback returns
the request message
a Future of the expected response message
Obtains a recommendation for a product.
Obtains a recommendation for a product.
the identifier of the product
the identifier of the client
the identifier of the site
a Future
with the Recommendation wrapped in a Some
if it exists, None
otherwise.
Obtains a recommendation for an user.
Obtains a recommendation for an user.
the identifier of the user
the identifier of the client
the identifier of the site
a Future
with the Recommendation wrapped in a Some
if it exists, None
otherwise.
The AMQP RPC config
The AMQP RPC config
The AMQP RPC Client to interact with the Recommender.