Package io.netty.handler.codec.quic
Class QuicPathEvent.New
- java.lang.Object
-
- io.netty.handler.codec.quic.QuicPathEvent
-
- io.netty.handler.codec.quic.QuicPathEvent.New
-
- All Implemented Interfaces:
QuicEvent
- Enclosing class:
- QuicPathEvent
public static final class QuicPathEvent.New 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 New(java.net.InetSocketAddress local, java.net.InetSocketAddress remote)
A new network path (local address, remote address) has been seen on a received packet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class io.netty.handler.codec.quic.QuicPathEvent
equals, hashCode, local, remote
-
-
-
-
Constructor Detail
-
New
public New(java.net.InetSocketAddress local, java.net.InetSocketAddress remote)
A new network path (local address, remote address) has been seen on a received packet. Note that this event is only triggered for servers, as the client is responsible from initiating new paths. The application may then probe this new path, if desired.- Parameters:
local
- local address.remote
- remote address.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classQuicPathEvent
-
-