Uses of Interface
org.springframework.messaging.tcp.reactor.TcpMessageCodec
Package
Description
Generic support for simple messaging protocols (like STOMP).
Contains support for TCP messaging based on Reactor.
-
Uses of TcpMessageCodec in org.springframework.messaging.simp.stomp
Modifier and TypeClassDescriptionclass
-
Uses of TcpMessageCodec in org.springframework.messaging.tcp.reactor
ModifierConstructorDescriptionReactorNetty2TcpClient
(String host, int port, TcpMessageCodec<P> codec) Simple constructor with the host and port to use to connect to.ReactorNetty2TcpClient
(Function<reactor.netty5.tcp.TcpClient, reactor.netty5.tcp.TcpClient> clientConfigurer, TcpMessageCodec<P> codec) A variant ofReactorNetty2TcpClient(String, int, TcpMessageCodec)
that still manages the lifecycle of theTcpClient
and underlying resources, but allows for direct configuration of other properties of the client through aFunction<TcpClient, TcpClient>
.ReactorNetty2TcpClient
(reactor.netty5.tcp.TcpClient tcpClient, TcpMessageCodec<P> codec) Constructor with an externally createdTcpClient
instance whose lifecycle is expected to be managed externally.ReactorNetty2TcpConnection
(reactor.netty5.NettyInbound inbound, reactor.netty5.NettyOutbound outbound, TcpMessageCodec<P> codec, reactor.core.publisher.Sinks.Empty<Void> completionSink)