| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private RetainableByteBuffer | |
| private final ByteBufferPool | |
| private final Configuration | |
| private int | |
| private byte | |
| private static final Logger | |
| private byte[] | |
| private int | |
| private Parser. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Frame. | |
| protected void | |
| public int | |
| protected Frame. | |
| public Frame. | Returns: Frame or null if not enough data for a complete frame.the buffer to parse from. buffer)Parse the buffer. |
| private Frame. | |
| public void | |
| public String |
| aggregate | back to summary |
|---|---|
| private RetainableByteBuffer aggregate | |
| bufferPool | back to summary |
|---|---|
| private final ByteBufferPool bufferPool | |
| configuration | back to summary |
|---|---|
| private final Configuration configuration | |
| cursor | back to summary |
|---|---|
| private int cursor | |
| firstByte | back to summary |
|---|---|
| private byte firstByte | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| mask | back to summary |
|---|---|
| private byte[] mask | |
| payloadLength | back to summary |
|---|---|
| private int payloadLength | |
| state | back to summary |
|---|---|
| private Parser. | |
| Parser | back to summary |
|---|---|
| public Parser(ByteBufferPool bufferPool) | |
| Parser | back to summary |
|---|---|
| public Parser(ByteBufferPool bufferPool, Configuration configuration) | |
| autoFragment | back to summary |
|---|---|
| private Frame. | |
| checkFrameSize | back to summary |
|---|---|
| protected void checkFrameSize(byte opcode, int payloadLength) throws MessageTooLargeException, ProtocolException | |
| getPayloadLength | back to summary |
|---|---|
| public int getPayloadLength() | |
| newFrame | back to summary |
|---|---|
| protected Frame. | |
| parse | back to summary |
|---|---|
| public Frame. Parse the buffer.
| |
| parsePayload | back to summary |
|---|---|
| private Frame. | |
| reset | back to summary |
|---|---|
| public void reset() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Parser. | |
| public static final Parser. | |
| public static final Parser. | |
| public static final Parser. | |
| public static final Parser. | |
| public static final Parser. | |
| public static final Parser. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Parser. | |
| public static Parser. |
| FRAGMENT | back to summary |
|---|---|
| public static final Parser. | |
| MASK | back to summary |
|---|---|
| public static final Parser. | |
| MASK_BYTES | back to summary |
|---|---|
| public static final Parser. | |
| PAYLOAD | back to summary |
|---|---|
| public static final Parser. | |
| PAYLOAD_LEN | back to summary |
|---|---|
| public static final Parser. | |
| PAYLOAD_LEN_BYTES | back to summary |
|---|---|
| public static final Parser. | |
| START | back to summary |
|---|---|
| public static final Parser. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static Parser. | |
| values | back to summary |
|---|---|
| public static Parser. | |