Class NoopTransportObserver
java.lang.Object
io.servicetalk.transport.netty.internal.NoopTransportObserver
- All Implemented Interfaces:
TransportObserver
Noop version of
TransportObserver
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Noop version ofConnectionObserver
.static final class
Noop version ofConnectionObserver.DataObserver
.static final class
Noop version ofConnectionObserver.MultiplexedObserver
.static final class
Noop version ofConnectionObserver.ProxyConnectObserver
.static final class
Noop version ofConnectionObserver.ReadObserver
.static final class
Noop version ofConnectionObserver.SecurityHandshakeObserver
.static final class
Noop version ofConnectionObserver.StreamObserver
.static final class
Noop version ofConnectionObserver.WriteObserver
. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiononNewConnection
(Object localAddress, Object remoteAddress) Callback when transport starts initializing a new network connection.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.servicetalk.transport.api.TransportObserver
onNewConnection
-
Field Details
-
INSTANCE
-
-
Method Details
-
onNewConnection
Description copied from interface:TransportObserver
Callback when transport starts initializing a new network connection.- Specified by:
onNewConnection
in interfaceTransportObserver
- Parameters:
localAddress
- a local address of a new connection, if knownremoteAddress
- a remote address of a new connection- Returns:
- a new
ConnectionObserver
that provides visibility into events associated with a new connection
-