public abstract class Decoder extends DecoderBase
Modifier and Type | Class and Description |
---|---|
private class |
Decoder.EightByteSizeReady |
private class |
Decoder.FlagsReady |
private class |
Decoder.MessageReady |
private class |
Decoder.OneByteSizeReady |
IDecoder.Step
Modifier and Type | Field and Description |
---|---|
private MsgAllocator |
allocator |
protected IDecoder.Step |
eightByteSizeReady |
protected IDecoder.Step |
flagsReady |
protected Msg |
inProgress |
protected long |
maxmsgsize |
protected IDecoder.Step |
messageReady |
protected IDecoder.Step |
oneByteSizeReady |
Constructor and Description |
---|
Decoder(Errno errno,
int bufsize,
long maxmsgsize,
MsgAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
protected Msg |
allocate(int size) |
protected IDecoder.Step.Result |
eightByteSizeReady() |
protected IDecoder.Step.Result |
flagsReady() |
protected IDecoder.Step.Result |
messageIncomplete() |
protected IDecoder.Step.Result |
messageReady() |
Msg |
msg() |
protected IDecoder.Step.Result |
oneByteSizeReady() |
protected IDecoder.Step.Result |
sizeReady(long size) |
protected final long maxmsgsize
protected Msg inProgress
protected final IDecoder.Step oneByteSizeReady
protected final IDecoder.Step eightByteSizeReady
protected final IDecoder.Step flagsReady
protected final IDecoder.Step messageReady
private final MsgAllocator allocator
public Decoder(Errno errno, int bufsize, long maxmsgsize, MsgAllocator allocator)
protected final IDecoder.Step.Result sizeReady(long size)
protected Msg allocate(int size)
protected IDecoder.Step.Result oneByteSizeReady()
protected IDecoder.Step.Result eightByteSizeReady()
protected IDecoder.Step.Result flagsReady()
protected IDecoder.Step.Result messageReady()
protected IDecoder.Step.Result messageIncomplete()
public Msg msg()