subscribe on the SocketTube before
the SocketTube is subscribed to the write publisher.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| private class | |
| private class | |
| private static class | |
| private abstract static class | SocketTube.
A repeatable event that can be paused or resumed by changing its interestOps. |
| private static class | SocketTube.
A restartable task used to process tasks in sequence. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final SocketChannel | |
| private final HttpClientImpl | |
| private final String | |
| pack-priv final Logger | |
| pack-priv static final List | |
| private final AtomicReference | |
| private final Object | |
| pack-priv static final int | |
| pack-priv static final List | |
| private final SocketTube. | |
| private final SocketTube. | |
| private final SocketTube. |
| Access | Constructor and Description |
|---|---|
| public | SocketTube(HttpClientImpl client, SocketChannel channel, Supplier<ByteBuffer> buffersFactory, String connectionLabel)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final String | |
| public void | connectFlows(FlowTube.
Overrides default jdk. Connects the bidirectional flows to a write |
| pack-priv final String | |
| pack-priv void | |
| public boolean | Returns: true if this flow is finished.Implements jdk. Returns |
| private static <T> List | |
| public void | onComplete()
Implements java. Method invoked when it is known that no additional Subscriber method invocations will occur for a Subscription that is not already terminated by error, after which no other Subscriber methods are invoked by the Subscription. |
| public void | onError(Throwable throwable)
Implements java. Method invoked upon an unrecoverable error encountered by a Publisher or Subscription, after which no other Subscriber methods are invoked by the Subscription. |
| public void | onNext(List<ByteBuffer> item)
Implements java. Method invoked with a Subscription's next item. |
| public void | onSubscribe(Flow.
Implements java. Method invoked prior to invoking any other Subscriber methods for the given Subscription. |
| private void | |
| private List | |
| private void | |
| pack-priv void | |
| public void | subscribe(Flow.
Implements java. Adds the given Subscriber if possible. |
| public String | |
| private long |