Class DeserializedResult<I,U>
java.lang.Object
org.axonframework.axonserver.connector.query.subscription.DeserializedResult<I,U>
- Type Parameters:
I- a generic specifying the type of the initial result of theSubscriptionQueryResultU- a generic specifying the type of the subsequent updates of theSubscriptionQueryResult
- All Implemented Interfaces:
AutoCloseable,org.axonframework.common.Registration,org.axonframework.queryhandling.SubscriptionQueryResult<org.axonframework.queryhandling.QueryResponseMessage<I>,org.axonframework.queryhandling.SubscriptionQueryUpdateMessage<U>>
@Deprecated
public class DeserializedResult<I,U>
extends Object
implements org.axonframework.queryhandling.SubscriptionQueryResult<org.axonframework.queryhandling.QueryResponseMessage<I>,org.axonframework.queryhandling.SubscriptionQueryUpdateMessage<U>>
Deprecated.
in through use of the AxonServer java
connector
A decorator of the
SubscriptionQueryUpdateMessage to deserialize a QueryResponseMessage and QueryUpdate messages.- Since:
- 4.0
- Author:
- Sara Pellegrini
-
Field Summary
Fields inherited from interface org.axonframework.queryhandling.SubscriptionQueryResult
logger -
Constructor Summary
ConstructorsConstructorDescriptionDeserializedResult(org.axonframework.queryhandling.SubscriptionQueryResult<io.axoniq.axonserver.grpc.query.QueryResponse, io.axoniq.axonserver.grpc.query.QueryUpdate> delegate, SubscriptionMessageSerializer serializer) Deprecated.Instantiate aDeserializedResultwrapping thedelegatewhich will be serialized by the givenserializer. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.axonframework.common.Registration
closeMethods inherited from interface org.axonframework.queryhandling.SubscriptionQueryResult
handle, handle
-
Constructor Details
-
DeserializedResult
public DeserializedResult(org.axonframework.queryhandling.SubscriptionQueryResult<io.axoniq.axonserver.grpc.query.QueryResponse, io.axoniq.axonserver.grpc.query.QueryUpdate> delegate, SubscriptionMessageSerializer serializer) Deprecated.Instantiate aDeserializedResultwrapping thedelegatewhich will be serialized by the givenserializer.- Parameters:
delegate- aSubscriptionQueryResultwhich will be wrappedserializer- aSubscriptionMessageSerializerused to serialize the initial results and the subsequent updates
-
-
Method Details
-
initialResult
public reactor.core.publisher.Mono<org.axonframework.queryhandling.QueryResponseMessage<I>> initialResult()Deprecated. -
updates
public reactor.core.publisher.Flux<org.axonframework.queryhandling.SubscriptionQueryUpdateMessage<U>> updates()Deprecated. -
cancel
public boolean cancel()Deprecated.- Specified by:
cancelin interfaceorg.axonframework.common.Registration
-