Uses of Interface
org.springframework.messaging.tcp.TcpConnectionHandler
Package
Description
Generic support for simple messaging protocols (like STOMP).
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 TcpConnectionHandler in org.springframework.messaging.simp.stomp
Modifier and TypeInterfaceDescriptioninterface
AStompSession
that implementsTcpConnectionHandler
in order to send and receive messages.interface
ATcpConnectionHandler
for use with STOMP connections, exposing further information about the connection. -
Uses of TcpConnectionHandler in org.springframework.messaging.tcp
Modifier and TypeMethodDescriptionTcpOperations.connect
(TcpConnectionHandler<P> connectionHandler) Open a new connection.TcpOperations.connect
(TcpConnectionHandler<P> connectionHandler, ReconnectStrategy reconnectStrategy) Open a new connection and a strategy for reconnecting if the connection fails. -
Uses of TcpConnectionHandler in org.springframework.messaging.tcp.reactor
Modifier and TypeMethodDescriptionReactorNettyTcpClient.connect
(TcpConnectionHandler<P> handler) ReactorNettyTcpClient.connect
(TcpConnectionHandler<P> handler, ReconnectStrategy strategy) protected reactor.netty.tcp.TcpClient
ReactorNettyTcpClient.extendTcpClient
(reactor.netty.tcp.TcpClient tcpClient, TcpConnectionHandler<P> handler) Provides an opportunity to initialize theTcpClient
for the givenTcpConnectionHandler
which may implement sub-interfaces such asStompTcpConnectionHandler
that expose further information.