public abstract class WsFrameBase extends Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
inputBuffer |
protected int |
writePos |
protected WsSession |
wsSession |
Constructor and Description |
---|
WsFrameBase(WsSession wsSession,
Transformation transformation) |
Modifier and Type | Method and Description |
---|---|
protected static long |
byteArrayToLong(byte[] b,
int start,
int len) |
protected abstract Log |
getLog() |
protected Transformation |
getTransformation() |
protected abstract boolean |
isMasked() |
protected boolean |
isOpen() |
protected void |
processInputBuffer() |
protected final WsSession wsSession
protected final byte[] inputBuffer
protected int writePos
public WsFrameBase(WsSession wsSession, Transformation transformation)
protected void processInputBuffer() throws IOException
IOException
protected abstract boolean isMasked()
protected abstract Log getLog()
protected static long byteArrayToLong(byte[] b, int start, int len) throws IOException
IOException
protected boolean isOpen()
protected Transformation getTransformation()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.