Class NoopTransportObserver

java.lang.Object
io.servicetalk.transport.netty.internal.NoopTransportObserver
All Implemented Interfaces:
TransportObserver

@Deprecated public final class NoopTransportObserver extends Object implements TransportObserver
Deprecated.
Starting from version 0.42.58 ConnectionObserver provides 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.
Noop version of TransportObserver.
  • Field Details

  • Method Details

    • onNewConnection

      public ConnectionObserver onNewConnection(@Nullable Object localAddress, Object remoteAddress)
      Deprecated.
      Description copied from interface: TransportObserver
      Callback when transport starts initializing a new network connection.
      Specified by:
      onNewConnection in interface TransportObserver
      Parameters:
      localAddress - a local address of a new connection, if known
      remoteAddress - a remote address of a new connection
      Returns:
      a new ConnectionObserver that provides visibility into events associated with a new connection