Modifier | Constructor and Description |
---|---|
protected |
EncoderBase(int bufferSize) |
Modifier and Type | Method and Description |
---|---|
protected void |
encodingError() |
Transfer |
getData(ByteBuffer buffer) |
boolean |
hasData() |
boolean |
isError() |
protected abstract boolean |
next() |
protected void |
nextStep(byte[] buf,
int toWrite,
int next,
boolean beginning) |
protected void |
nextStep(ByteBuffer buf,
int next,
boolean beginning) |
protected void |
nextStep(FileChannel ch,
long pos,
long toWrite,
int next,
boolean beginning) |
protected void |
nextStep(Msg msg,
int state,
boolean beginning) |
protected int |
state() |
protected void |
state(int state) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setMsgSource
public Transfer getData(ByteBuffer buffer)
protected int state()
protected void state(int state)
protected void encodingError()
public final boolean isError()
protected abstract boolean next()
protected void nextStep(Msg msg, int state, boolean beginning)
protected void nextStep(byte[] buf, int toWrite, int next, boolean beginning)
protected void nextStep(ByteBuffer buf, int next, boolean beginning)
protected void nextStep(FileChannel ch, long pos, long toWrite, int next, boolean beginning)
Copyright © 2017. All Rights Reserved.