| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static interface | |
| public static class | |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| pack-priv static final QuicheBinding |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract boolean | |
| public static QuicheConnection | |
| public static QuicheConnection | connect(QuicheConfig quicheConfig, InetSocketAddress local, InetSocketAddress peer, int connectionIdLength)
|
| public abstract void | |
| public abstract int | Returns: how many bytes were added to the buffer.the buffer to fill. buffer)Fill the given buffer with cipher text to be sent. |
| public abstract int | |
| public abstract int | Returns: how many bytes were consumed.the buffer to read. buffer, SocketAddress the local address on which the buffer was received. local, SocketAddress the address of the peer from which the buffer was received. peer)Read the buffer of cipher text coming from the network. |
| public final int | |
| public abstract int | |
| public final void | |
| public abstract QuicheConnection. | |
| public abstract String | |
| public abstract QuicheConnection. | |
| public abstract boolean | |
| public abstract boolean | |
| public abstract boolean | |
| public abstract boolean | |
| protected abstract List | |
| public abstract int | |
| public static boolean | Returns: true if a negotiation packet was written to thepacketToSend buffer, false if negotiation failed
and the packetRead buffer can be dropped.Fully consumes the |
| public abstract long | |
| public abstract void | |
| public final List | |
| public abstract void | |
| public static QuicheConnection | Returns: an established connection if accept succeeded, null if accept failed and negotiation should be tried.Fully consumes the |
| public abstract long | |
| public abstract long | |
| public final List |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| QUICHE_BINDING | back to summary |
|---|---|
| pack-priv static final QuicheBinding QUICHE_BINDING | |
| QuicheConnection | back to summary |
|---|---|
| public QuicheConnection() | |
| close | back to summary |
|---|---|
| public abstract boolean close(long error, String reason) | |
| connect | back to summary |
|---|---|
| public static QuicheConnection connect(QuicheConfig quicheConfig, InetSocketAddress local, InetSocketAddress peer) throws IOException | |
| connect | back to summary |
|---|---|
| public static QuicheConnection connect(QuicheConfig quicheConfig, InetSocketAddress local, InetSocketAddress peer, int connectionIdLength) throws IOException | |
| dispose | back to summary |
|---|---|
| public abstract void dispose() | |
| drainCipherBytes | back to summary |
|---|---|
| public abstract int drainCipherBytes(ByteBuffer buffer) throws IOException Fill the given buffer with cipher text to be sent.
| |
| drainClearBytesForStream | back to summary |
|---|---|
| public abstract int drainClearBytesForStream(long streamId, ByteBuffer buffer) throws IOException | |
| feedCipherBytes | back to summary |
|---|---|
| public abstract int feedCipherBytes(ByteBuffer buffer, SocketAddress local, SocketAddress peer) throws IOException Read the buffer of cipher text coming from the network.
| |
| feedClearBytesForStream | back to summary |
|---|---|
| public final int feedClearBytesForStream(long streamId, ByteBuffer buffer) throws IOException | |
| feedClearBytesForStream | back to summary |
|---|---|
| public abstract int feedClearBytesForStream(long streamId, ByteBuffer buffer, boolean last) throws IOException | |
| feedFinForStream | back to summary |
|---|---|
| public final void feedFinForStream(long streamId) throws IOException | |
| getLocalCloseInfo | back to summary |
|---|---|
| public abstract QuicheConnection. | |
| getNegotiatedProtocol | back to summary |
|---|---|
| public abstract String getNegotiatedProtocol() | |
| getRemoteCloseInfo | back to summary |
|---|---|
| public abstract QuicheConnection. | |
| isConnectionClosed | back to summary |
|---|---|
| public abstract boolean isConnectionClosed() | |
| isConnectionEstablished | back to summary |
|---|---|
| public abstract boolean isConnectionEstablished() | |
| isDraining | back to summary |
|---|---|
| public abstract boolean isDraining() | |
| isStreamFinished | back to summary |
|---|---|
| public abstract boolean isStreamFinished(long streamId) | |
| iterableStreamIds | back to summary |
|---|---|
| protected abstract List | |
| maxLocalStreams | back to summary |
|---|---|
| public abstract int maxLocalStreams() | |
| negotiate | back to summary |
|---|---|
| public static boolean negotiate(QuicheConnection. Fully consumes the
| |
| nextTimeout | back to summary |
|---|---|
| public abstract long nextTimeout() | |
| onTimeout | back to summary |
|---|---|
| public abstract void onTimeout() | |
| readableStreamIds | back to summary |
|---|---|
| public final List | |
| shutdownStream | back to summary |
|---|---|
| public abstract void shutdownStream(long streamId, boolean writeSide, long error) throws IOException | |
| tryAccept | back to summary |
|---|---|
| public static QuicheConnection tryAccept(QuicheConfig quicheConfig, QuicheConnection. Fully consumes the
| |
| windowCapacity | back to summary |
|---|---|
| public abstract long windowCapacity() | |
| windowCapacity | back to summary |
|---|---|
| public abstract long windowCapacity(long streamId) throws IOException | |
| writableStreamIds | back to summary |
|---|---|
| public final List | |
| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private final String |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public String |
| error | back to summary |
|---|---|
| private final long error | |
| reason | back to summary |
|---|---|
| private final String reason | |
| CloseInfo | back to summary |
|---|---|
| public CloseInfo(long error, String reason) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] |
| MAX_TOKEN_LENGTH | back to summary |
|---|---|
| public static final int MAX_TOKEN_LENGTH | |
| mint | back to summary |
|---|---|
| public byte[] mint(byte[] dcid, int len) | |
| Access | Constructor and Description |
|---|---|
| public |
| TokenValidationException | back to summary |
|---|---|
| public TokenValidationException(String msg) | |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] |
| validate | back to summary |
|---|---|
| public byte[] validate(byte[] token, int len) | |