| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final AsyncChannelWrapper | |
| private final CompletionHandler | |
| private final Log | |
| private volatile ByteBuffer | |
| private static final StringManager |
| Access | Constructor and Description |
|---|---|
| public | WsFrameClient(ByteBuffer response, AsyncChannelWrapper channel, WsSession wsSession, Transformation transformation)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected Log | |
| protected boolean | |
| private void | |
| protected void | resumeProcessing()
Implements abstract org. This method will be invoked when the read operation is resumed. |
| private void | |
| pack-priv void |
| channel | back to summary |
|---|---|
| private final AsyncChannelWrapper channel | |
| handler | back to summary |
|---|---|
| private final CompletionHandler<Integer, Void> handler | |
| log | back to summary |
|---|---|
| private final Log log | |
| response | back to summary |
|---|---|
| private volatile ByteBuffer response | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| WsFrameClient | back to summary |
|---|---|
| public WsFrameClient(ByteBuffer response, AsyncChannelWrapper channel, WsSession wsSession, Transformation transformation) | |
| close | back to summary |
|---|---|
| private void close(Throwable t) | |
| getLog | back to summary |
|---|---|
| protected Log getLog() Implements abstract org.
| |
| isMasked | back to summary |
|---|---|
| protected boolean isMasked() Implements abstract org.
| |
| processSocketRead | back to summary |
|---|---|
| private void processSocketRead() throws IOException | |
| 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.
| |
| resumeProcessing | back to summary |
|---|---|
| private void resumeProcessing(boolean checkOpenOnError) | |
| startInputProcessing | back to summary |
|---|---|
| pack-priv void startInputProcessing() | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | completed(Integer
The result of the I/O operation. result, Void The object attached to the I/O operation when it was initiated. attachment)Implements java. Invoked when an operation has completed. |
| private void | |
| public void | failed(Throwable
The exception to indicate why the I/O operation failed exc, Void The object attached to the I/O operation when it was initiated. attachment)Implements java. Invoked when an operation fails. |
| WsFrameClientCompletionHandler | back to summary |
|---|---|
| private WsFrameClientCompletionHandler() | |
| completed | back to summary |
|---|---|
| public void completed(Integer result, Void attachment) Implements java. Doc from java. Invoked when an operation has completed. | |
| doResumeProcessing | back to summary |
|---|---|
| private void doResumeProcessing(boolean checkOpenOnError) | |
| failed | back to summary |
|---|---|
| public void failed(Throwable exc, Void attachment) Implements java. Doc from java. Invoked when an operation fails. | |