public class DataFrameHeaderReader extends FixedSizeHeaderReader
| Modifier and Type | Field and Description |
|---|---|
static int |
PAYLOAD_LENGTH_BYTES |
byteBuffer| Constructor and Description |
|---|
DataFrameHeaderReader() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
headerSize() |
protected void |
onComplete()
Actions (e.g.
|
int |
payloadSize()
As the thrift sasl specification states, all sasl messages (both for negotiatiing and for
sending data) should have a header to indicate the size of the payload.
|
clear, isComplete, read, toBytespublic static final int PAYLOAD_LENGTH_BYTES
protected int headerSize()
headerSize in class FixedSizeHeaderReaderprotected void onComplete()
throws TInvalidSaslFrameException
FixedSizeHeaderReaderonComplete in class FixedSizeHeaderReaderTInvalidSaslFrameExceptionpublic int payloadSize()
FrameHeaderReader