FrameParser

Undocumented in source.

Constructors

this
this(FrameHandler frameHandler, ByteBufferDecoder decoder, int localMaxFrameSize, TransportImpl transport)

We store the last result when processing input so that we know not to process any more input if it was an error.

Members

Enums

State
enum State
Undocumented in source.

Functions

capacity
int capacity()
Undocumented in source. Be warned that the author may not have intended to support it.
close_tail
void close_tail()
Undocumented in source. Be warned that the author may not have intended to support it.
flush
void flush()

Attempt to flush any cached data to the frame transport. This function is useful if the {@link FrameHandler} state has changed.

getFramesInput
long getFramesInput()
Undocumented in source. Be warned that the author may not have intended to support it.
position
int position()
Undocumented in source. Be warned that the author may not have intended to support it.
process
void process()
Undocumented in source. Be warned that the author may not have intended to support it.
tail
ByteBuffer tail()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

_emptyInputBuffer
ByteBuffer _emptyInputBuffer()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From TransportInput

capacity
int capacity()
Undocumented in source.
position
int position()
Undocumented in source.
tail
ByteBuffer tail()
Undocumented in source.
process
void process()
Undocumented in source.
close_tail
void close_tail()
Undocumented in source.

Meta