Interface QuicheBinding
- All Known Implementing Classes:
ForeignQuicheBinding, JnaQuicheBinding
public interface QuicheBinding
-
Method Summary
Modifier and TypeMethodDescriptionconnect(QuicheConfig quicheConfig, InetSocketAddress local, InetSocketAddress peer, int connectionIdLength) byte[]fromPacket(ByteBuffer packet) booleannegotiate(QuicheConnection.TokenMinter tokenMinter, ByteBuffer packetRead, ByteBuffer packetToSend) intpriority()tryAccept(QuicheConfig quicheConfig, QuicheConnection.TokenValidator tokenValidator, ByteBuffer packetRead, SocketAddress local, SocketAddress peer)
-
Method Details
-
initialize
Throwable initialize() -
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
-