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