Interface ReactorNettyCodec<P>
- Type Parameters:
P- the message payload type
- All Known Implementing Classes:
AbstractNioBufferReactorNettyCodec, StompReactorNettyCodec
public interface ReactorNettyCodec<P>
Simple holder for a decoding
Function and an encoding
BiConsumer to use with Reactor Netty.- Since:
- 5.0
- Author:
- Rossen Stoyanchev
-
Method Summary
-
Method Details
-
decode
Decode the inputByteBufinto one or moreMessages.- Parameters:
inputBuffer- the input buffer to decode from- Returns:
- 0 or more decoded messages
-
encode
-