The server specific implementation of QuicConnection.
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final QuicServerConnector | |
| private static final Logger | |
| private final ServerQuicConnection. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected QuicSession | createSession(SocketAddress remoteAddress, ByteBuffer cipherBuffer)
Implements abstract org.
|
| public QuicServerConnector | |
| protected ServerQuicSession | |
| public boolean | onIdleExpired(TimeoutException timeoutException)
Implements abstract org. Implements org. Callback method invoked upon an idle timeout event. |
| public void | onOpen()
Overrides org. Implements org. Callback method invoked when this connection is opened. |
| public void | outwardClose(QuicSession session, Throwable failure)
Overrides org.
|
| public void |
| connector | back to summary |
|---|---|
| private final QuicServerConnector connector | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| sessionTimeouts | back to summary |
|---|---|
| private final ServerQuicConnection. | |
| ServerQuicConnection | back to summary |
|---|---|
| public ServerQuicConnection(QuicServerConnector connector, EndPoint endPoint) | |
| createSession | back to summary |
|---|---|
| protected QuicSession createSession(SocketAddress remoteAddress, ByteBuffer cipherBuffer) throws IOException Implements abstract org.
| |
| getQuicServerConnector | back to summary |
|---|---|
| public QuicServerConnector getQuicServerConnector() | |
| newQuicSession | back to summary |
|---|---|
| protected ServerQuicSession newQuicSession(SocketAddress remoteAddress, QuicheConnection quicheConnection) | |
| onIdleExpired | back to summary |
|---|---|
| public boolean onIdleExpired(TimeoutException timeoutException) Implements abstract org. Implements org. Doc from org. Callback method invoked upon an idle timeout event. Implementations of this method may return true to indicate that the idle timeout handling should proceed normally, typically failing the EndPoint and causing it to be closed. When false is returned, the handling of the idle timeout event is halted immediately and the EndPoint left in the state it was before the idle timeout event.
| |
| onOpen | back to summary |
|---|---|
| public void onOpen() Overrides org. Implements org. Doc from org. Callback method invoked when this connection is opened. Creators of the connection implementation are responsible for calling this method.
| |
| outwardClose | back to summary |
|---|---|
| public void outwardClose(QuicSession session, Throwable failure) Overrides org.
| |
| schedule | back to summary |
|---|---|
| public void schedule(ServerQuicSession session) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected Iterator | |
| protected boolean | onExpired(ServerQuicSession session)
Implements abstract org. Invoked during the iteration when the given entity is expired. |
| SessionTimeouts | back to summary |
|---|---|
| private SessionTimeouts(Scheduler scheduler) | |
| iterator | back to summary |
|---|---|
| protected Iterator Implements abstract org.
| |
| onExpired | back to summary |
|---|---|
| protected boolean onExpired(ServerQuicSession session) Implements abstract org. Doc from org. Invoked during the iteration when the given entity is expired. This method may be invoked multiple times, and even concurrently, for the same expirable entity and therefore the expiration of the entity, if any, should be an idempotent action. When
| |