| Modifier and Type | Field and Description |
|---|---|
| private final ClassLoader | |
| private final Log | |
| private static final StringManager | |
| private final SocketWrapperBase | |
| private final UpgradeInfo |
| Access | Constructor and Description |
|---|---|
| public | WsFrameServer(SocketWrapperBase<?> socketWrapper, UpgradeInfo upgradeInfo, WsSession wsSession, Transformation transformation, ClassLoader applicationClassLoader)
|
| Modifier and Type | Method and Description |
|---|---|
| private AbstractEndpoint. | |
| protected Log | |
| protected Transformation | |
| protected boolean | |
| protected boolean | |
| pack-priv AbstractEndpoint. | |
| private void | |
| protected void | resumeProcessing()
Implements abstract org. This method will be invoked when the read operation is resumed. |
| protected void | sendMessageBinary(ByteBuffer msg, boolean last)
Overrides org.
|
| protected void | |
| protected void | updateStats(long
Size of message payload payloadLength)Overrides org. Hook for updating server side statistics. |
| applicationClassLoader | back to summary |
|---|---|
| private final ClassLoader applicationClassLoader | |
| log | back to summary |
|---|---|
| private final Log log | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| socketWrapper | back to summary |
|---|---|
| private final SocketWrapperBase<?> socketWrapper | |
| upgradeInfo | back to summary |
|---|---|
| private final UpgradeInfo upgradeInfo | |
| WsFrameServer | back to summary |
|---|---|
| public WsFrameServer(SocketWrapperBase<?> socketWrapper, UpgradeInfo upgradeInfo, WsSession wsSession, Transformation transformation, ClassLoader applicationClassLoader) | |
| doOnDataAvailable | back to summary |
|---|---|
| private AbstractEndpoint. | |
| getLog | back to summary |
|---|---|
| protected Log getLog() Implements abstract org.
| |
| getTransformation | back to summary |
|---|---|
| protected Transformation getTransformation() Overrides org.
| |
| isMasked | back to summary |
|---|---|
| protected boolean isMasked() Implements abstract org.
| |
| isOpen | back to summary |
|---|---|
| protected boolean isOpen() Overrides org.
| |
| notifyDataAvailable | back to summary |
|---|---|
| pack-priv AbstractEndpoint. | |
| onDataAvailable | back to summary |
|---|---|
| private void onDataAvailable() throws IOException Called when there is data in the ServletInputStream to process.
| |
| resumeProcessing | back to summary |
|---|---|
| protected void resumeProcessing() Implements abstract org. Doc from org. This method will be invoked when the read operation is resumed. As the suspend of the read operation can be invoked at any time, when implementing this method one should consider that there might still be data remaining into the internal buffers that needs to be processed before reading again from the socket.
| |
| sendMessageBinary | back to summary |
|---|---|
| protected void sendMessageBinary(ByteBuffer msg, boolean last) throws WsIOException Overrides org.
| |
| sendMessageText | back to summary |
|---|---|
| protected void sendMessageText(boolean last) throws WsIOException Overrides org.
| |
| updateStats | back to summary |
|---|---|
| protected void updateStats(long payloadLength) Overrides org. Doc from org. Hook for updating server side statistics. Called on every frame received.
| |