| Modifier and Type | Field and Description |
|---|---|
protected Msg |
inProgress |
| Modifier | Constructor and Description |
|---|---|
protected |
EncoderBase(Errno errno,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
int |
encode(ValueReference<ByteBuffer> data,
int size) |
void |
encoded() |
protected void |
encodingError() |
int |
errno() |
void |
errno(int err) |
protected void |
initStep(Runnable next,
boolean newMsgFlag) |
boolean |
isError() |
void |
loadMsg(Msg msg) |
protected void |
next() |
protected void |
nextStep(ByteBuffer buf,
int toWrite,
Runnable next,
boolean newMsgFlag) |
protected void |
nextStep(Msg msg,
Runnable state,
boolean beginning) |
protected Msg inProgress
protected EncoderBase(Errno errno, int bufferSize)
public final int encode(ValueReference<ByteBuffer> data, int size)
protected void encodingError()
public final boolean isError()
protected void next()
protected void initStep(Runnable next, boolean newMsgFlag)
protected void nextStep(ByteBuffer buf, int toWrite, Runnable next, boolean newMsgFlag)
public int errno()
public void errno(int err)
Copyright © 2020. All rights reserved.