Uses of Interface
org.springframework.messaging.tcp.ReconnectStrategy
Package
Description
Contains abstractions and implementation classes for establishing TCP connections via
TcpOperations
,
handling messages via
TcpConnectionHandler
,
as well as sending messages via
TcpConnection
.Contains support for TCP messaging based on Reactor.
-
Uses of ReconnectStrategy in org.springframework.messaging.tcp
Modifier and TypeClassDescriptionclass
A simple strategy for making reconnect attempts at a fixed interval.Modifier and TypeMethodDescriptiondefault ListenableFuture<Void>
TcpOperations.connect
(TcpConnectionHandler<P> connectionHandler, ReconnectStrategy reconnectStrategy) Deprecated.TcpOperations.connectAsync
(TcpConnectionHandler<P> connectionHandler, ReconnectStrategy reconnectStrategy) Open a new connection and a strategy for reconnecting if the connection fails. -
Uses of ReconnectStrategy in org.springframework.messaging.tcp.reactor
Modifier and TypeMethodDescriptionReactorNetty2TcpClient.connectAsync
(TcpConnectionHandler<P> handler, ReconnectStrategy strategy) ReactorNettyTcpClient.connectAsync
(TcpConnectionHandler<P> handler, ReconnectStrategy strategy)
TcpOperations.connectAsync(TcpConnectionHandler, ReconnectStrategy)