public abstract class WsFrameBase
extends java.lang.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 volatile int writePos
public WsFrameBase(WsSession wsSession, Transformation transformation)
protected void processInputBuffer() throws java.io.IOException
java.io.IOException
protected abstract boolean isMasked()
protected abstract Log getLog()
protected static long byteArrayToLong(byte[] b, int start, int len) throws java.io.IOException
java.io.IOException
protected boolean isOpen()
protected Transformation getTransformation()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.