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
public static final class QuicPathEvent.ReusedSourceConnectionId extends 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
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()java.net.InetSocketAddressoldLocal()The old local address of the network path.java.net.InetSocketAddressoldRemote()The old remote address of the network path.longseq()Source connection id sequence number.java.lang.StringtoString()-
Methods inherited from class io.netty.handler.codec.quic.QuicPathEvent
local, remote
-
-
-
-
Constructor Detail
-
ReusedSourceConnectionId
public 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.- Parameters:
seq- sequence numberoldLocal- old local address.oldRemote- old remote address.local- local address.remote- remote address.
-
-
Method Detail
-
seq
public long seq()
Source connection id sequence number.- Returns:
- sequence number
-
oldLocal
public java.net.InetSocketAddress oldLocal()
The old local address of the network path.- Returns:
- local
-
oldRemote
public java.net.InetSocketAddress oldRemote()
The old remote address of the network path.- Returns:
- local
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classQuicPathEvent
-
hashCode
public int hashCode()
- Overrides:
hashCodein classQuicPathEvent
-
toString
public java.lang.String toString()
- Overrides:
toStringin classQuicPathEvent
-
-