java.lang.Object
org.eclipse.jetty.quic.quiche.jna.JnaQuicheBinding
All Implemented Interfaces:
org.eclipse.jetty.quic.quiche.QuicheBinding

public class JnaQuicheBinding extends Object implements org.eclipse.jetty.quic.quiche.QuicheBinding
  • Constructor Details

    • JnaQuicheBinding

      public JnaQuicheBinding()
  • Method Details

    • isUsable

      public boolean isUsable()
      Specified by:
      isUsable in interface org.eclipse.jetty.quic.quiche.QuicheBinding
    • priority

      public int priority()
      Specified by:
      priority in interface org.eclipse.jetty.quic.quiche.QuicheBinding
    • fromPacket

      public byte[] fromPacket(ByteBuffer packet)
      Specified by:
      fromPacket in interface org.eclipse.jetty.quic.quiche.QuicheBinding
    • connect

      public org.eclipse.jetty.quic.quiche.QuicheConnection connect(org.eclipse.jetty.quic.quiche.QuicheConfig quicheConfig, InetSocketAddress local, InetSocketAddress peer, int connectionIdLength) throws IOException
      Specified by:
      connect in interface org.eclipse.jetty.quic.quiche.QuicheBinding
      Throws:
      IOException
    • negotiate

      public boolean negotiate(org.eclipse.jetty.quic.quiche.QuicheConnection.TokenMinter tokenMinter, ByteBuffer packetRead, ByteBuffer packetToSend) throws IOException
      Specified by:
      negotiate in interface org.eclipse.jetty.quic.quiche.QuicheBinding
      Throws:
      IOException
    • tryAccept

      public org.eclipse.jetty.quic.quiche.QuicheConnection tryAccept(org.eclipse.jetty.quic.quiche.QuicheConfig quicheConfig, org.eclipse.jetty.quic.quiche.QuicheConnection.TokenValidator tokenValidator, ByteBuffer packetRead, SocketAddress local, SocketAddress peer) throws IOException
      Specified by:
      tryAccept in interface org.eclipse.jetty.quic.quiche.QuicheBinding
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object