Class NoopTransportObserver

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

public final class NoopTransportObserver extends Object implements TransportObserver
Noop version of TransportObserver.
  • Field Details

  • Method Details

    • onNewConnection

      public ConnectionObserver onNewConnection(@Nullable Object localAddress, Object remoteAddress)
      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