public final class QuicConnectionAddress extends SocketAddress
QuicConnectionAddress that can be used to connect too.| Modifier and Type | Field and Description |
|---|---|
static QuicConnectionAddress |
EPHEMERAL
Special
QuicConnectionAddress that should be used when the connection address should be generated
and choosen on the fly. |
| Constructor and Description |
|---|
QuicConnectionAddress(byte[] connId)
Create a new instance
|
QuicConnectionAddress(ByteBuffer connId)
Create a new instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static QuicConnectionAddress |
random()
Return a random generated
QuicConnectionAddress of maximum size
that can be used to connect a QuicChannel |
static QuicConnectionAddress |
random(int length)
Return a random generated
QuicConnectionAddress of a given length
that can be used to connect a QuicChannel |
String |
toString() |
public static final QuicConnectionAddress EPHEMERAL
QuicConnectionAddress that should be used when the connection address should be generated
and choosen on the fly.public QuicConnectionAddress(byte[] connId)
connId - the connection id to use.public QuicConnectionAddress(ByteBuffer connId)
connId - the connection id to use.public static QuicConnectionAddress random(int length)
QuicConnectionAddress of a given length
that can be used to connect a QuicChannellength - the length of the QuicConnectionAddress to generate.public static QuicConnectionAddress random()
QuicConnectionAddress of maximum size
that can be used to connect a QuicChannelCopyright © 2020–2021 The Netty Project. All rights reserved.