Uses of Class
io.github.mahmoudimus.quic.QuicConnection
Packages that use QuicConnection
Package
Description
A dependency-free QUIC transport (RFC 9000, 9001, 9002, 9221, 9369).
-
Uses of QuicConnection in io.github.mahmoudimus.quic
Methods in io.github.mahmoudimus.quic that return QuicConnectionModifier and TypeMethodDescriptionQuicServer.accept()Waits for the next established connection.Waits for the next established connection, up to a timeout.QuicClient.connect(InetSocketAddress remote) Connects with the TLS configuration's server name, waiting for the handshake.QuicClient.connect(InetSocketAddress remote, String serverName, Duration timeout) Connects, waiting for the handshake.QuicClient.connect(InetSocketAddress remote, String serverName, Duration timeout, SessionCache cache) Connects with a cache of session tickets and tokens, waiting for the handshake.QuicClient.connectEarly(InetSocketAddress remote, String serverName, Duration timeout) Connects, returning at once if the connection can send 0-RTT data (it resumes with a ticket that allows it, and the TLS configuration enables early data); otherwise waiting for the handshake asQuicClient.connect(InetSocketAddress, String, Duration)does.QuicClient.connectEarly(InetSocketAddress remote, String serverName, Duration timeout, SessionCache cache) Connects with a cache of session tickets and tokens, returning at once if the connection can send 0-RTT data.QuicStream.connection()The connection.Methods in io.github.mahmoudimus.quic with parameters of type QuicConnectionModifier and TypeMethodDescriptiondefault voidQuicConnection.Observer.closed(QuicConnection connection, QuicConnection.Stats stats, ConnectionError reason, boolean handshakeCompleted) A connection opened has ended, for any reason.default voidQuicConnection.Observer.handshakeCompleted(QuicConnection connection, Duration elapsed) A connection's handshake completed.default voidQuicConnection.Observer.opened(QuicConnection connection) A connection started: a client's, or one a server is accepting (before its handshake).