Package io.netty.handler.codec.quic
Class QuicPathEvent.ReusedSourceConnectionId
java.lang.Object
io.netty.handler.codec.quic.QuicPathEvent
io.netty.handler.codec.quic.QuicPathEvent.ReusedSourceConnectionId
- All Implemented Interfaces:
QuicEvent
- Enclosing class:
QuicPathEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.handler.codec.quic.QuicPathEvent
QuicPathEvent.Closed, QuicPathEvent.FailedValidation, QuicPathEvent.New, QuicPathEvent.PeerMigrated, QuicPathEvent.ReusedSourceConnectionId, QuicPathEvent.Validated -
Constructor Summary
ConstructorsConstructorDescriptionReusedSourceConnectionId(long seq, InetSocketAddress oldLocal, InetSocketAddress oldRemote, InetSocketAddress local, 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. -
Method Summary
Methods inherited from class io.netty.handler.codec.quic.QuicPathEvent
local, remote
-
Constructor Details
-
ReusedSourceConnectionId
public ReusedSourceConnectionId(long seq, InetSocketAddress oldLocal, InetSocketAddress oldRemote, InetSocketAddress local, 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.- Parameters:
seq- sequence numberoldLocal- old local address.oldRemote- old remote address.local- local address.remote- remote address.
-
-
Method Details
-
seq
public long seq()Source connection id sequence number.- Returns:
- sequence number
-
oldLocal
The old local address of the network path.- Returns:
- local
-
oldRemote
The old remote address of the network path.- Returns:
- local
-
equals
- Overrides:
equalsin classQuicPathEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classQuicPathEvent
-
toString
- Overrides:
toStringin classQuicPathEvent
-