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 TypeMethodDescriptiondefault ListenableFuture<Void>
TcpOperations.connect
(TcpConnectionHandler<P> connectionHandler) Deprecated, for removal: This API element is subject to removal in a future version.default ListenableFuture<Void>
TcpOperations.connect
(TcpConnectionHandler<P> connectionHandler, ReconnectStrategy reconnectStrategy) Deprecated, for removal: This API element is subject to removal in a future version.as of 6.0, in favor ofTcpOperations.connectAsync(TcpConnectionHandler, ReconnectStrategy)
TcpOperations.connectAsync
(TcpConnectionHandler<P> connectionHandler) Open a new connection.TcpOperations.connectAsync
(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 TypeMethodDescriptionReactorNetty2TcpClient.connectAsync
(TcpConnectionHandler<P> handler) ReactorNetty2TcpClient.connectAsync
(TcpConnectionHandler<P> handler, ReconnectStrategy strategy) ReactorNettyTcpClient.connectAsync
(TcpConnectionHandler<P> handler) ReactorNettyTcpClient.connectAsync
(TcpConnectionHandler<P> handler, ReconnectStrategy strategy) protected reactor.netty5.tcp.TcpClient
ReactorNetty2TcpClient.extendTcpClient
(reactor.netty5.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.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.
TcpOperations.connectAsync(TcpConnectionHandler)