Top Methods
org.eclipse.jetty.quic.quiche

public Interface QuicheBinding

Imports
java.io.IOException, java.net.InetSocketAddress, .SocketAddress, java.nio.ByteBuffer

Method Summary

Modifier and TypeMethod and Description
public QuicheConnection
connect(QuicheConfig quicheConfig, InetSocketAddress local, InetSocketAddress peer, int connectionIdLength)

public byte[]
public boolean
public boolean
negotiate(QuicheConnection.TokenMinter tokenMinter, ByteBuffer packetRead, ByteBuffer packetToSend)

public int
public QuicheConnection
tryAccept(QuicheConfig quicheConfig, QuicheConnection.TokenValidator tokenValidator, ByteBuffer packetRead, SocketAddress local, SocketAddress peer)

Method Detail

connectback to summary
public QuicheConnection connect(QuicheConfig quicheConfig, InetSocketAddress local, InetSocketAddress peer, int connectionIdLength) throws IOException
fromPacketback to summary
public byte[] fromPacket(ByteBuffer packet)
isUsableback to summary
public boolean isUsable()
negotiateback to summary
public boolean negotiate(QuicheConnection.TokenMinter tokenMinter, ByteBuffer packetRead, ByteBuffer packetToSend) throws IOException
priorityback to summary
public int priority()
tryAcceptback to summary
public QuicheConnection tryAccept(QuicheConfig quicheConfig, QuicheConnection.TokenValidator tokenValidator, ByteBuffer packetRead, SocketAddress local, SocketAddress peer) throws IOException