Package io.grpc.xds.orca
Class OrcaOobUtil.SubchannelImpl
- java.lang.Object
-
- io.grpc.LoadBalancer.Subchannel
-
- io.grpc.util.ForwardingSubchannel
-
- io.grpc.xds.orca.OrcaOobUtil.SubchannelImpl
-
- Enclosing class:
- OrcaOobUtil
static final class OrcaOobUtil.SubchannelImpl extends io.grpc.util.ForwardingSubchannel
-
-
Field Summary
Fields Modifier and Type Field Description private io.grpc.LoadBalancer.Subchannel
delegate
private OrcaOobUtil.OrcaReportingHelper.OrcaReportingState
orcaState
private OrcaOobUtil.OrcaOobReportListener
reportListener
-
Constructor Summary
Constructors Constructor Description SubchannelImpl(io.grpc.LoadBalancer.Subchannel delegate, OrcaOobUtil.OrcaReportingHelper.OrcaReportingState orcaState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected io.grpc.LoadBalancer.Subchannel
delegate()
io.grpc.Attributes
getAttributes()
void
start(io.grpc.LoadBalancer.SubchannelStateListener listener)
-
-
-
Field Detail
-
delegate
private final io.grpc.LoadBalancer.Subchannel delegate
-
orcaState
private final OrcaOobUtil.OrcaReportingHelper.OrcaReportingState orcaState
-
reportListener
@Nullable private OrcaOobUtil.OrcaOobReportListener reportListener
-
-
Constructor Detail
-
SubchannelImpl
SubchannelImpl(io.grpc.LoadBalancer.Subchannel delegate, OrcaOobUtil.OrcaReportingHelper.OrcaReportingState orcaState)
-
-
Method Detail
-
delegate
protected io.grpc.LoadBalancer.Subchannel delegate()
- Specified by:
delegate
in classio.grpc.util.ForwardingSubchannel
-
start
public void start(io.grpc.LoadBalancer.SubchannelStateListener listener)
- Overrides:
start
in classio.grpc.util.ForwardingSubchannel
-
getAttributes
public io.grpc.Attributes getAttributes()
- Overrides:
getAttributes
in classio.grpc.util.ForwardingSubchannel
-
-