Modifier and Type | Class and Description |
---|---|
pack-priv static enum | |
private class | |
private class | |
private class | |
private class |
Modifier and Type | Field and Description |
---|---|
private final RawChannel | |
private final ReentrantLock | |
private final AtomicLong | |
private ByteBuffer | |
private static final Logger | |
private final MessageDecoder | |
private final Demand | |
private final ByteBuffer | |
private final ByteBuffer[] | |
private final MessageEncoder | |
private boolean | |
private final MessageStreamConsumer | |
private boolean | |
private final MessageQueue | |
private final Frame. | |
private final RawChannel. | |
private volatile TransportImpl. | |
private final SequentialScheduler | |
private final SequentialScheduler | |
private final RawChannel. | |
private final AtomicReference |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | |
public void | |
public void | |
private ByteBuffer | |
public void | |
public <T> CompletableFuture | sendBinary(ByteBuffer message, boolean isLast, T attachment, BiConsumer<? super T, ? super Throwable> action)
Implements jdk.
|
public <T> CompletableFuture | sendClose(int statusCode, String reason, T attachment, BiConsumer<? super T, ? super Throwable> action)
Implements jdk.
|
public <T> CompletableFuture | sendPing(ByteBuffer message, T attachment, BiConsumer<? super T, ? super Throwable> action)
Implements jdk.
|
public <T> CompletableFuture | sendPong(ByteBuffer message, T attachment, BiConsumer<? super T, ? super Throwable> action)
Implements jdk.
|
public <T> CompletableFuture | sendPong(Supplier<? extends ByteBuffer> message, T attachment, BiConsumer<? super T, ? super Throwable> action)
Implements jdk.
|
public <T> CompletableFuture | sendText(CharSequence message, boolean isLast, T attachment, BiConsumer<? super T, ? super Throwable> action)
Implements jdk.
|
private boolean |
channel | back to summary |
---|---|
private final RawChannel channel |
closeLock | back to summary |
---|---|
private final ReentrantLock closeLock |
counter | back to summary |
---|---|
private final AtomicLong counter |
data | back to summary |
---|---|
private ByteBuffer data |
debug | back to summary |
---|---|
private static final Logger debug |
decoder | back to summary |
---|---|
private final MessageDecoder decoder |
demand | back to summary |
---|---|
private final Demand demand |
dst | back to summary |
---|---|
private final ByteBuffer dst |
dstArray | back to summary |
---|---|
private final ByteBuffer[] dstArray |
encoder | back to summary |
---|---|
private final MessageEncoder encoder |
inputClosed | back to summary |
---|---|
private boolean inputClosed |
messageConsumer | back to summary |
---|---|
private final MessageStreamConsumer messageConsumer |
outputClosed | back to summary |
---|---|
private boolean outputClosed |
queue | back to summary |
---|---|
private final MessageQueue queue |
reader | back to summary |
---|---|
private final Frame. |
readEvent | back to summary |
---|---|
private final RawChannel. |
readState | back to summary |
---|---|
private volatile TransportImpl. |
receiveScheduler | back to summary |
---|---|
private final SequentialScheduler receiveScheduler |
sendScheduler | back to summary |
---|---|
private final SequentialScheduler sendScheduler |
writeEvent | back to summary |
---|---|
private final RawChannel. |
writeState | back to summary |
---|---|
private final AtomicReference<TransportImpl. |
TransportImpl | back to summary |
---|---|
public TransportImpl(MessageQueue queue, MessageStreamConsumer consumer, RawChannel channel) |
acknowledgeReception | back to summary |
---|---|
public void acknowledgeReception() Implements jdk.
|
closeInput | back to summary |
---|---|
public void closeInput() throws IOException Implements jdk.
|
closeOutput | back to summary |
---|---|
public void closeOutput() throws IOException Implements jdk.
|
createWriteBuffer | back to summary |
---|---|
private ByteBuffer createWriteBuffer() |
request | back to summary |
---|---|
public void request(long n) Implements jdk.
|
sendBinary | back to summary |
---|---|
public <T> CompletableFuture Implements jdk.
|
sendClose | back to summary |
---|---|
public <T> CompletableFuture Implements jdk.
|
sendPing | back to summary |
---|---|
public <T> CompletableFuture Implements jdk.
|
sendPong | back to summary |
---|---|
public <T> CompletableFuture Implements jdk.
|
sendPong | back to summary |
---|---|
public <T> CompletableFuture Implements jdk.
|
sendText | back to summary |
---|---|
public <T> CompletableFuture Implements jdk.
|
write | back to summary |
---|---|
private boolean write() throws IOException |
Modifier and Type | Field and Description |
---|---|
public static final TransportImpl. | |
public static final TransportImpl. | |
public static final TransportImpl. | |
public static final TransportImpl. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public static TransportImpl. | |
public static TransportImpl. |
AVAILABLE | back to summary |
---|---|
public static final TransportImpl. |
CLOSED | back to summary |
---|---|
public static final TransportImpl. |
UNREGISTERED | back to summary |
---|---|
public static final TransportImpl. |
WAITING | back to summary |
---|---|
public static final TransportImpl. |
ChannelState | back to summary |
---|---|
private ChannelState() |
valueOf | back to summary |
---|---|
public static TransportImpl. |
values | back to summary |
---|---|
public static TransportImpl. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public void | |
public int |
ReadEvent | back to summary |
---|---|
private ReadEvent() |
handle | back to summary |
---|---|
public void handle() Implements jdk.
|
interestOps | back to summary |
---|---|
public int interestOps() Implements jdk.
|
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public void | run()
Implements abstract jdk. The body of the task. |
ReceiveTask | back to summary |
---|---|
private ReceiveTask() |
run | back to summary |
---|---|
public void run() Implements abstract jdk. Doc from jdk. The body of the task.
|
Modifier and Type | Field and Description |
---|---|
private BiConsumer | |
private Object | |
private boolean | |
private final MessageQueue. | |
private boolean | |
private CompletableFuture | |
private final MessageQueue. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
private void | |
public void | run()
Implements abstract jdk. The body of the task. |
private boolean |
action | back to summary |
---|---|
private BiConsumer<T, U> action |
attachment | back to summary |
---|---|
private Object attachment |
encoded | back to summary |
---|---|
private boolean encoded |
encodingCallback | back to summary |
---|---|
private final MessageQueue. |
firstPass | back to summary |
---|---|
private boolean firstPass |
future | back to summary |
---|---|
private CompletableFuture<T> future |
loadCallback | back to summary |
---|---|
private final MessageQueue. |
SendTask | back to summary |
---|---|
private SendTask() |
removeAndComplete | back to summary |
---|---|
private void removeAndComplete(Throwable error)
|
run | back to summary |
---|---|
public void run() Implements abstract jdk. Doc from jdk. The body of the task.
|
tryCompleteWrite | back to summary |
---|---|
private boolean tryCompleteWrite() throws IOException |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public void | |
public int |
WriteEvent | back to summary |
---|---|
private WriteEvent() |
handle | back to summary |
---|---|
public void handle() Implements jdk.
|
interestOps | back to summary |
---|---|
public int interestOps() Implements jdk.
|