public static final class QuicPathEvent.ReusedSourceConnectionId extends QuicPathEvent
QuicPathEvent.Closed, QuicPathEvent.FailedValidation, QuicPathEvent.New, QuicPathEvent.PeerMigrated, QuicPathEvent.ReusedSourceConnectionId, QuicPathEvent.Validated
Constructor and Description |
---|
ReusedSourceConnectionId(long seq,
java.net.InetSocketAddress oldLocal,
java.net.InetSocketAddress oldRemote,
java.net.InetSocketAddress local,
java.net.InetSocketAddress remote)
The stack observes that the Source Connection ID with the given sequence number,
initially used by the peer over the first pair of addresses, is now reused over
the second pair of addresses.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.net.InetSocketAddress |
oldLocal()
The old local address of the network path.
|
java.net.InetSocketAddress |
oldRemote()
The old remote address of the network path.
|
long |
seq()
Source connection id sequence number.
|
java.lang.String |
toString() |
local, remote
public ReusedSourceConnectionId(long seq, java.net.InetSocketAddress oldLocal, java.net.InetSocketAddress oldRemote, java.net.InetSocketAddress local, java.net.InetSocketAddress remote)
seq
- sequence numberoldLocal
- old local address.oldRemote
- old remote address.local
- local address.remote
- remote address.public long seq()
public java.net.InetSocketAddress oldLocal()
public java.net.InetSocketAddress oldRemote()
public boolean equals(java.lang.Object o)
equals
in class QuicPathEvent
public int hashCode()
hashCode
in class QuicPathEvent
public java.lang.String toString()
toString
in class QuicPathEvent
Copyright © 2020-2024 The Netty Project. All Rights Reserved.