public abstract class WsFrameBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ByteBuffer |
inputBuffer |
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 void |
sendMessageBinary(ByteBuffer msg,
boolean last) |
protected void |
sendMessageText(boolean last) |
protected final WsSession wsSession
protected final ByteBuffer inputBuffer
public WsFrameBase(WsSession wsSession, Transformation transformation)
protected void processInputBuffer()
throws IOException
IOExceptionprotected abstract boolean isMasked()
protected abstract Log getLog()
protected void sendMessageText(boolean last)
throws WsIOException
WsIOExceptionprotected void sendMessageBinary(ByteBuffer msg, boolean last) throws WsIOException
WsIOExceptionprotected static long byteArrayToLong(byte[] b,
int start,
int len)
throws IOException
IOExceptionprotected boolean isOpen()
protected Transformation getTransformation()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.