Top Description Interfaces Classes
module spring.messaging

Package org.springframework.messaging.tcp

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Contains abstractions and implementation classes for establishing TCP connections via TcpOperations, handling messages via TcpConnectionHandler, as well as sending messages via TcpConnection.

Interface Summary

Modifier and TypeInterface and Description
public interface
ReconnectStrategy

A contract to determine the frequency of reconnect attempts after connection failure.

public interface
TcpConnection<
the type of payload for outbound Messages
P
>

A contract for sending messages and managing a TCP connection.

public interface
TcpConnectionHandler<
the type of payload for in and outbound messages
P
>

A contract for managing lifecycle events for a TCP connection including the handling of incoming messages.

public interface
TcpOperations<
the type of payload for inbound and outbound messages
P
>

A contract for establishing TCP connections.

Class Summary

Modifier and TypeClass and Description
public class
FixedIntervalReconnectStrategy

A simple strategy for making reconnect attempts at a fixed interval.