Modifier and Type | Class and Description |
---|---|
static class |
FrameCodec.LengthField |
DEFAULT_DELIMITER, delimiter
Constructor and Description |
---|
FrameCodec(int prefixLength,
FrameCodec.LengthField lengthField) |
Modifier and Type | Method and Description |
---|---|
Buffer |
apply(Frame frame)
Execute the logic of the action, accepting the given parameter.
|
Function<Buffer,Frame> |
decoder(Consumer<Frame> next)
Provide the caller with a decoder to turn a source object into an instance of the input
type.
|
decode, encode
addDelimiterIfAny, decoder, doBufferDecode, doDelimitedBufferDecode, encoder, invokeCallbackOrReturn
public FrameCodec(int prefixLength, FrameCodec.LengthField lengthField)
Copyright © 2016. All rights reserved.