Class NoopTransportObserver
java.lang.Object
io.servicetalk.transport.netty.internal.NoopTransportObserver
- All Implemented Interfaces:
TransportObserver
Deprecated.
Noop version of
TransportObserver.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.Noop version ofConnectionObserver.static final classDeprecated.Noop version ofConnectionObserver.DataObserver.static final classDeprecated.Noop version ofConnectionObserver.MultiplexedObserver.static final classDeprecated.Noop version ofConnectionObserver.ProxyConnectObserver.static final classDeprecated.Noop version ofConnectionObserver.ReadObserver.static final classDeprecated.Noop version ofConnectionObserver.SecurityHandshakeObserver.static final classDeprecated.Noop version ofConnectionObserver.StreamObserver.static final classDeprecated.Noop version ofConnectionObserver.WriteObserver. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiononNewConnection(Object localAddress, Object remoteAddress) Deprecated.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, waitMethods inherited from interface io.servicetalk.transport.api.TransportObserver
onNewConnection
-
Field Details
-
INSTANCE
Deprecated.
-
-
Method Details
-
onNewConnection
Deprecated.Description copied from interface:TransportObserverCallback when transport starts initializing a new network connection.- Specified by:
onNewConnectionin interfaceTransportObserver- Parameters:
localAddress- a local address of a new connection, if knownremoteAddress- a remote address of a new connection- Returns:
- a new
ConnectionObserverthat provides visibility into events associated with a new connection
-
ConnectionObserverprovides default implementations for all of its callbacks, making the need in this class less relevant. We plan to remove this class from future versions. Consider using default implementations of the interface methods when you are not interested in specific callbacks.