A container that tracks QuicSession instances.
| Modifier and Type | Field and Description |
|---|---|
| private final Set | |
| private final AtomicReference |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public void | dump(Appendable out, String indent)
Implements org. Dump this object (and children) into an Appendable using the provided indent after any new lines. |
| public boolean | |
| public void | onClosed(QuicSession session)
Overrides default org. Callback method invoked when a |
| public void | onOpened(QuicSession session)
Overrides default org. Callback method invoked when a |
| public CompletableFuture |
| sessions | back to summary |
|---|---|
| private final Set<QuicSession> sessions | |
| shutdown | back to summary |
|---|---|
| private final AtomicReference<CompletableFuture<Void>> shutdown | |
| QuicSessionContainer | back to summary |
|---|---|
| public QuicSessionContainer() | |
| dump | back to summary |
|---|---|
| public String dump() Overrides default org.
| |
| dump | back to summary |
|---|---|
| public void dump(Appendable out, String indent) throws IOException Implements org. Doc from org. Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
| |
| isShutdown | back to summary |
|---|---|
| public boolean isShutdown() Implements org.
| |
| onClosed | back to summary |
|---|---|
| public void onClosed(QuicSession session) Overrides default org. Doc from org. Callback method invoked when a
| |
| onOpened | back to summary |
|---|---|
| public void onOpened(QuicSession session) Overrides default org. Doc from org. Callback method invoked when a
| |
| shutdown | back to summary |
|---|---|
| public CompletableFuture Implements org. Doc from org. Shutdown the component. When this method returns, the component should not accept any new load.
| |