Class JnaQuicheBinding
java.lang.Object
org.eclipse.jetty.quic.quiche.jna.JnaQuicheBinding
- All Implemented Interfaces:
 QuicheBinding
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionconnect(QuicheConfig quicheConfig, InetSocketAddress local, InetSocketAddress peer, int connectionIdLength) byte[]fromPacket(ByteBuffer packet) booleannegotiate(Quiche.TokenMinter tokenMinter, ByteBuffer packetRead, ByteBuffer packetToSend) intpriority()toString()tryAccept(QuicheConfig quicheConfig, Quiche.TokenValidator tokenValidator, ByteBuffer packetRead, SocketAddress local, SocketAddress peer)  
- 
Constructor Details
- 
JnaQuicheBinding
public JnaQuicheBinding() 
 - 
 - 
Method Details
- 
initialize
- Specified by:
 initializein interfaceQuicheBinding
 - 
priority
public int priority()- Specified by:
 priorityin interfaceQuicheBinding
 - 
fromPacket
- Specified by:
 fromPacketin interfaceQuicheBinding
 - 
connect
public Quiche connect(QuicheConfig quicheConfig, InetSocketAddress local, InetSocketAddress peer, int connectionIdLength) throws IOException - Specified by:
 connectin interfaceQuicheBinding- Throws:
 IOException
 - 
negotiate
public boolean negotiate(Quiche.TokenMinter tokenMinter, ByteBuffer packetRead, ByteBuffer packetToSend) throws IOException - Specified by:
 negotiatein interfaceQuicheBinding- Throws:
 IOException
 - 
tryAccept
public Quiche tryAccept(QuicheConfig quicheConfig, Quiche.TokenValidator tokenValidator, ByteBuffer packetRead, SocketAddress local, SocketAddress peer) throws IOException - Specified by:
 tryAcceptin interfaceQuicheBinding- Throws:
 IOException
 - 
toString
 
 -