public abstract class ControlFrameParser extends Object
Constructor and Description |
---|
ControlFrameParser(CompressionFactory.Decompressor decompressor) |
Modifier and Type | Method and Description |
---|---|
byte |
getFlags() |
int |
getLength() |
short |
getVersion() |
protected abstract void |
onControlFrame(ControlFrame frame) |
boolean |
parse(ByteBuffer buffer) |
void |
skip(int bytesToSkip) |
public ControlFrameParser(CompressionFactory.Decompressor decompressor)
public short getVersion()
public byte getFlags()
public int getLength()
public void skip(int bytesToSkip)
public boolean parse(ByteBuffer buffer)
protected abstract void onControlFrame(ControlFrame frame)
Copyright © 1995-2015 Webtide. All Rights Reserved.