Uses of Interface
org.springframework.messaging.tcp.reactor.TcpMessageCodec
Packages that use 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
Classes in org.springframework.messaging.simp.stomp that implement TcpMessageCodecModifier and TypeClassDescriptionclass -
Uses of TcpMessageCodec in org.springframework.messaging.tcp.reactor
Constructors in org.springframework.messaging.tcp.reactor with parameters of type TcpMessageCodecModifierConstructorDescriptionReactorNetty2TcpClient(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 theTcpClientand 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 createdTcpClientinstance 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)