Class NoopTransportObserver.NoopDataObserver
- java.lang.Object
-
- io.servicetalk.transport.netty.internal.NoopTransportObserver.NoopDataObserver
-
- All Implemented Interfaces:
ConnectionObserver.DataObserver
- Enclosing class:
- NoopTransportObserver
public static final class NoopTransportObserver.NoopDataObserver extends java.lang.Object implements ConnectionObserver.DataObserver
Noop version ofConnectionObserver.DataObserver
.
-
-
Field Summary
Fields Modifier and Type Field Description static ConnectionObserver.DataObserver
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionObserver.ReadObserver
onNewRead()
Callback when the connection starts reading a new message.ConnectionObserver.WriteObserver
onNewWrite()
Callback when the connection starts writing a new message.
-
-
-
Field Detail
-
INSTANCE
public static final ConnectionObserver.DataObserver INSTANCE
-
-
Method Detail
-
onNewRead
public ConnectionObserver.ReadObserver onNewRead()
Description copied from interface:ConnectionObserver.DataObserver
Callback when the connection starts reading a new message.- Specified by:
onNewRead
in interfaceConnectionObserver.DataObserver
- Returns:
ConnectionObserver.ReadObserver
that provides visibility into read events
-
onNewWrite
public ConnectionObserver.WriteObserver onNewWrite()
Description copied from interface:ConnectionObserver.DataObserver
Callback when the connection starts writing a new message.- Specified by:
onNewWrite
in interfaceConnectionObserver.DataObserver
- Returns:
ConnectionObserver.WriteObserver
that provides visibility into write events
-
-