public class Parser extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Parser.Listener |
Constructor and Description |
---|
Parser(CompressionFactory.Decompressor decompressor) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(Parser.Listener listener) |
protected void |
notifyControlFrame(ControlFrame frame) |
protected void |
notifyDataFrame(DataFrame frame,
ByteBuffer data) |
protected void |
notifySessionException(SessionException x) |
protected void |
notifyStreamException(StreamException x) |
void |
parse(ByteBuffer buffer) |
void |
removeListener(Parser.Listener listener) |
public Parser(CompressionFactory.Decompressor decompressor)
public void addListener(Parser.Listener listener)
public void removeListener(Parser.Listener listener)
protected void notifyControlFrame(ControlFrame frame)
protected void notifyDataFrame(DataFrame frame, ByteBuffer data)
protected void notifyStreamException(StreamException x)
protected void notifySessionException(SessionException x)
public void parse(ByteBuffer buffer)
Copyright © 1995-2015 Webtide. All Rights Reserved.