public class QuerySerializer extends Object
Constructor and Description |
---|
QuerySerializer(Serializer messageSerializer,
Serializer genericSerializer,
AxonServerConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
<Q,R> QueryMessage<Q,R> |
deserializeRequest(QueryRequest query) |
<R> QueryResponseMessage<R> |
deserializeResponse(QueryResponse commandResponse) |
<Q,R> QueryRequest |
serializeRequest(QueryMessage<Q,R> queryMessage,
int nrResults,
long timeout,
int priority) |
QueryResponse |
serializeResponse(QueryResponseMessage<?> response,
String requestMessageId) |
public QuerySerializer(Serializer messageSerializer, Serializer genericSerializer, AxonServerConfiguration configuration)
public <Q,R> QueryMessage<Q,R> deserializeRequest(QueryRequest query)
public QueryResponse serializeResponse(QueryResponseMessage<?> response, String requestMessageId)
public <Q,R> QueryRequest serializeRequest(QueryMessage<Q,R> queryMessage, int nrResults, long timeout, int priority)
public <R> QueryResponseMessage<R> deserializeResponse(QueryResponse commandResponse)
Copyright © 2010–2018. All rights reserved.