Class ResubscribableStreamObserver<V>
java.lang.Object
org.axonframework.axonserver.connector.util.ResubscribableStreamObserver<V>
- Type Parameters:
V- the type of values passed through the stream
- All Implemented Interfaces:
io.grpc.stub.StreamObserver<V>
@Deprecated
public class ResubscribableStreamObserver<V>
extends Object
implements io.grpc.stub.StreamObserver<V>
Deprecated.
in through use of the AxonServer java
connector
Wrapper around
StreamObserver that re-subscribes on error received (if other side is still available).- Since:
- 4.1.2
- Author:
- Milan Savic
-
Constructor Summary
ConstructorsConstructorDescriptionResubscribableStreamObserver(io.grpc.stub.StreamObserver<V> delegate, Consumer<Throwable> resubscribe) Deprecated.Creates the Re-subscribable Stream Observer. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidDeprecated.voidDeprecated.
-
Constructor Details
-
ResubscribableStreamObserver
public ResubscribableStreamObserver(io.grpc.stub.StreamObserver<V> delegate, Consumer<Throwable> resubscribe) Deprecated.Creates the Re-subscribable Stream Observer.- Parameters:
delegate- the StreamObserver to delegate callsresubscribe- the re-subscription consumer - should implement the actual re-subscription
-
-
Method Details