Package org.eclipse.jetty.quic.quiche
Interface QuicheBinding
- All Known Implementing Classes:
JnaQuicheBinding
public interface QuicheBinding
-
Method Summary
Modifier and TypeMethodDescriptionconnect
(QuicheConfig quicheConfig, InetSocketAddress local, InetSocketAddress peer, int connectionIdLength) byte[]
fromPacket
(ByteBuffer packet) boolean
isUsable()
boolean
negotiate
(QuicheConnection.TokenMinter tokenMinter, ByteBuffer packetRead, ByteBuffer packetToSend) int
priority()
tryAccept
(QuicheConfig quicheConfig, QuicheConnection.TokenValidator tokenValidator, ByteBuffer packetRead, SocketAddress local, SocketAddress peer)
-
Method Details
-
isUsable
boolean isUsable() -
priority
int priority() -
fromPacket
-
connect
QuicheConnection connect(QuicheConfig quicheConfig, InetSocketAddress local, InetSocketAddress peer, int connectionIdLength) throws IOException - Throws:
IOException
-
negotiate
boolean negotiate(QuicheConnection.TokenMinter tokenMinter, ByteBuffer packetRead, ByteBuffer packetToSend) throws IOException - Throws:
IOException
-
tryAccept
QuicheConnection tryAccept(QuicheConfig quicheConfig, QuicheConnection.TokenValidator tokenValidator, ByteBuffer packetRead, SocketAddress local, SocketAddress peer) throws IOException - Throws:
IOException
-