| Modifier and Type | Class and Description |
|---|---|
static class |
FrameCodec.LengthField |
| Constructor and Description |
|---|
FrameCodec(int prefixLength,
FrameCodec.LengthField lengthField) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Function<Frame,Buffer> |
encoder()
Provide the caller with an encoder to turn an output object into an instance of the source
type.
|
public FrameCodec(int prefixLength,
FrameCodec.LengthField lengthField)