Package io.grpc.internal
Class InternalSubchannel.Callback
- java.lang.Object
-
- io.grpc.internal.InternalSubchannel.Callback
-
- Enclosing class:
- InternalSubchannel
abstract static class InternalSubchannel.Callback extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Callback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
onInUse(InternalSubchannel is)
Called when the subchannel's in-use state has changed to true, which means at least one transport is in use.(package private) void
onNotInUse(InternalSubchannel is)
Called when the subchannel's in-use state has changed to false, which means no transport is in use.(package private) void
onStateChange(InternalSubchannel is, ConnectivityStateInfo newState)
Called when the subchannel's connectivity state has changed.(package private) void
onTerminated(InternalSubchannel is)
Called when the subchannel is terminated, which means it's shut down and all transports have been terminated.
-
-
-
Method Detail
-
onTerminated
@ForOverride void onTerminated(InternalSubchannel is)
Called when the subchannel is terminated, which means it's shut down and all transports have been terminated.
-
onStateChange
@ForOverride void onStateChange(InternalSubchannel is, ConnectivityStateInfo newState)
Called when the subchannel's connectivity state has changed.
-
onInUse
@ForOverride void onInUse(InternalSubchannel is)
Called when the subchannel's in-use state has changed to true, which means at least one transport is in use.
-
onNotInUse
@ForOverride void onNotInUse(InternalSubchannel is)
Called when the subchannel's in-use state has changed to false, which means no transport is in use.
-
-