public interface QuicConnectionIdGenerator
| Modifier and Type | Method and Description |
|---|---|
int |
maxConnectionIdLength()
Returns the maximum length of a connection id.
|
ByteBuffer |
newId(ByteBuffer input,
int length)
Creates a new connection id with the given length.
|
ByteBuffer |
newId(int length)
Creates a new
QuicConnectionAddress with the given length. |
static QuicConnectionIdGenerator |
randomGenerator()
Return a
QuicConnectionIdGenerator which randomly generates new connection ids. |
ByteBuffer newId(int length)
QuicConnectionAddress with the given length.length - the length of the id.ByteBuffer newId(ByteBuffer input, int length)
input - the input which may be used to generate the id.length - the length of the id.int maxConnectionIdLength()
static QuicConnectionIdGenerator randomGenerator()
QuicConnectionIdGenerator which randomly generates new connection ids.QuicConnectionIdGenerator which randomly generated ids.Copyright © 2020–2021 The Netty Project. All rights reserved.