public class Parser extends Object
Constructor and Description |
---|
Parser(WebSocketPolicy wspolicy,
ByteBufferPool bufferPool) |
Modifier and Type | Method and Description |
---|---|
void |
configureFromExtensions(List<? extends Extension> exts) |
IncomingFrames |
getIncomingFramesHandler() |
WebSocketPolicy |
getPolicy() |
boolean |
isRsv1InUse() |
boolean |
isRsv2InUse() |
boolean |
isRsv3InUse() |
protected void |
notifyFrame(Frame f) |
protected void |
notifyWebSocketException(WebSocketException e) |
void |
parse(ByteBuffer buffer) |
void |
setIncomingFramesHandler(IncomingFrames incoming) |
String |
toString() |
public Parser(WebSocketPolicy wspolicy, ByteBufferPool bufferPool)
public IncomingFrames getIncomingFramesHandler()
public WebSocketPolicy getPolicy()
public boolean isRsv1InUse()
public boolean isRsv2InUse()
public boolean isRsv3InUse()
protected void notifyFrame(Frame f)
protected void notifyWebSocketException(WebSocketException e)
public void parse(ByteBuffer buffer) throws WebSocketException
WebSocketException
public void setIncomingFramesHandler(IncomingFrames incoming)
Copyright © 1995-2015 Webtide. All Rights Reserved.