public class Decoder extends DecoderBase
| Modifier and Type | Field and Description |
|---|---|
private static int |
EIGHT_BYTE_SIZE_READY |
private static int |
FLAGS_READY |
private Msg |
inProgress |
private long |
maxmsgsize |
private static int |
MESSAGE_READY |
private IMsgSink |
msgSink |
private static int |
ONE_BYTE_SIZE_READY |
private byte[] |
tmpbuf |
private java.nio.ByteBuffer |
tmpbufWrap |
zeroCopy| Constructor and Description |
|---|
Decoder(int bufsize,
long maxmsgsize) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
eightByteSizeReady() |
private boolean |
flagsReady() |
private boolean |
messageReady() |
protected boolean |
next() |
private boolean |
oneByteSizeReady() |
void |
setMsgSink(IMsgSink msgSink) |
decodingError, getBuffer, getMsgAllocator, nextStep, nextStep, nextStep, processBuffer, setMsgAllocator, stalled, state, stateprivate static final int ONE_BYTE_SIZE_READY
private static final int EIGHT_BYTE_SIZE_READY
private static final int FLAGS_READY
private static final int MESSAGE_READY
private final byte[] tmpbuf
private final java.nio.ByteBuffer tmpbufWrap
private Msg inProgress
private final long maxmsgsize
private IMsgSink msgSink
public void setMsgSink(IMsgSink msgSink)
protected boolean next()
next in class DecoderBaseprivate boolean oneByteSizeReady()
private boolean eightByteSizeReady()
private boolean flagsReady()
private boolean messageReady()