public class AxonServerConnectionManager extends Object
Constructor and Description |
---|
AxonServerConnectionManager(AxonServerConfiguration connectInformation) |
Modifier and Type | Method and Description |
---|---|
void |
addDisconnectListener(Runnable action) |
void |
addReconnectInterceptor(Function<Runnable,Runnable> interceptor) |
void |
addReconnectListener(Runnable action) |
io.grpc.Channel |
getChannel() |
io.grpc.stub.StreamObserver<CommandProviderOutbound> |
getCommandStream(io.grpc.stub.StreamObserver<CommandProviderInbound> commandsFromRoutingServer,
io.grpc.ClientInterceptor[] interceptors) |
io.grpc.stub.StreamObserver<QueryProviderOutbound> |
getQueryStream(io.grpc.stub.StreamObserver<QueryProviderInbound> queryProviderInboundStreamObserver,
io.grpc.ClientInterceptor[] interceptors) |
void |
onOutboundInstruction(PlatformOutboundInstruction.RequestCase requestCase,
Consumer<PlatformOutboundInstruction> consumer) |
void |
send(PlatformInboundInstruction instruction) |
void |
shutdown() |
public AxonServerConnectionManager(AxonServerConfiguration connectInformation)
public io.grpc.Channel getChannel()
public void addReconnectListener(Runnable action)
public void addDisconnectListener(Runnable action)
public void addReconnectInterceptor(Function<Runnable,Runnable> interceptor)
public io.grpc.stub.StreamObserver<CommandProviderOutbound> getCommandStream(io.grpc.stub.StreamObserver<CommandProviderInbound> commandsFromRoutingServer, io.grpc.ClientInterceptor[] interceptors)
public io.grpc.stub.StreamObserver<QueryProviderOutbound> getQueryStream(io.grpc.stub.StreamObserver<QueryProviderInbound> queryProviderInboundStreamObserver, io.grpc.ClientInterceptor[] interceptors)
public void onOutboundInstruction(PlatformOutboundInstruction.RequestCase requestCase, Consumer<PlatformOutboundInstruction> consumer)
public void send(PlatformInboundInstruction instruction)
public void shutdown()
Copyright © 2010–2018. All rights reserved.