Uses of Interface
org.springframework.messaging.tcp.reactor.ReactorNettyCodec
Packages that use ReactorNettyCodec
Package
Description
Generic support for simple messaging protocols (like STOMP).
Contains support for TCP messaging based on Reactor.
-
Uses of ReactorNettyCodec in org.springframework.messaging.simp.stomp
Classes in org.springframework.messaging.simp.stomp that implement ReactorNettyCodecModifier and TypeClassDescriptionclassSimple delegation to StompDecoder and StompEncoder. -
Uses of ReactorNettyCodec in org.springframework.messaging.tcp.reactor
Classes in org.springframework.messaging.tcp.reactor that implement ReactorNettyCodecModifier and TypeClassDescriptionclassConvenient base class forReactorNettyCodecimplementations that need to work with NIOByteBuffers.Constructors in org.springframework.messaging.tcp.reactor with parameters of type ReactorNettyCodecModifierConstructorDescriptionReactorNettyTcpClient(String host, int port, ReactorNettyCodec<P> codec) Simple constructor with the host and port to use to connect to.ReactorNettyTcpClient(Function<reactor.netty.tcp.TcpClient, reactor.netty.tcp.TcpClient> clientConfigurer, ReactorNettyCodec<P> codec) A variant ofReactorNettyTcpClient(String, int, ReactorNettyCodec)that still manages the lifecycle of theTcpClientand underlying resources, but allows for direct configuration of other properties of the client through aFunction<TcpClient, TcpClient>.ReactorNettyTcpClient(reactor.netty.tcp.TcpClient tcpClient, ReactorNettyCodec<P> codec) Constructor with an externally createdTcpClientinstance whose lifecycle is expected to be managed externally.ReactorNettyTcpConnection(reactor.netty.NettyInbound inbound, reactor.netty.NettyOutbound outbound, ReactorNettyCodec<P> codec, reactor.core.publisher.Sinks.Empty<Void> completionSink)