I - a generic specifying the type of the initial result of the SubscriptionQueryResultU - a generic specifying the type of the subsequent updates of the SubscriptionQueryResult@Deprecated public class DeserializedResult<I,U> extends Object implements org.axonframework.queryhandling.SubscriptionQueryResult<org.axonframework.queryhandling.QueryResponseMessage<I>,org.axonframework.queryhandling.SubscriptionQueryUpdateMessage<U>>
SubscriptionQueryUpdateMessage to deserialize a QueryResponseMessage and QueryUpdate messages.| Constructor and Description |
|---|
DeserializedResult(org.axonframework.queryhandling.SubscriptionQueryResult<io.axoniq.axonserver.grpc.query.QueryResponse,io.axoniq.axonserver.grpc.query.QueryUpdate> delegate,
SubscriptionMessageSerializer serializer)
Deprecated.
Instantiate a
DeserializedResult wrapping the delegate which will be serialized by the given
serializer. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Deprecated.
|
reactor.core.publisher.Mono<org.axonframework.queryhandling.QueryResponseMessage<I>> |
initialResult()
Deprecated.
|
reactor.core.publisher.Flux<org.axonframework.queryhandling.SubscriptionQueryUpdateMessage<U>> |
updates()
Deprecated.
|
public DeserializedResult(org.axonframework.queryhandling.SubscriptionQueryResult<io.axoniq.axonserver.grpc.query.QueryResponse,io.axoniq.axonserver.grpc.query.QueryUpdate> delegate,
SubscriptionMessageSerializer serializer)
DeserializedResult wrapping the delegate which will be serialized by the given
serializer.delegate - a SubscriptionQueryResult which will be wrappedserializer - a SubscriptionMessageSerializer used to serialize the initial results and the
subsequent updatespublic reactor.core.publisher.Mono<org.axonframework.queryhandling.QueryResponseMessage<I>> initialResult()
public reactor.core.publisher.Flux<org.axonframework.queryhandling.SubscriptionQueryUpdateMessage<U>> updates()
public boolean cancel()
cancel in interface org.axonframework.common.RegistrationCopyright © 2010–2024. All rights reserved.