| Modifier and Type | Field and Description |
|---|---|
protected int |
toRead |
| Constructor and Description |
|---|
DecoderBase(int bufsize) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decodingError() |
ByteBuffer |
getBuffer() |
protected abstract boolean |
next() |
protected void |
nextStep(byte[] buf,
int toRead,
int state) |
protected void |
nextStep(Msg msg,
int state) |
int |
processBuffer(ByteBuffer buf,
int size) |
boolean |
stalled() |
protected int |
state() |
protected void |
state(int state) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetMsgSinkpublic ByteBuffer getBuffer()
public int processBuffer(ByteBuffer buf, int size)
processBuffer in interface IDecoderprotected void nextStep(Msg msg, int state)
protected void nextStep(byte[] buf,
int toRead,
int state)
protected int state()
protected void state(int state)
protected void decodingError()
protected abstract boolean next()
Copyright © 2016. All rights reserved.