Class AltsProtocolNegotiator.ClientAltsProtocolNegotiatorFactory
java.lang.Object
io.grpc.alts.internal.AltsProtocolNegotiator.ClientAltsProtocolNegotiatorFactory
- All Implemented Interfaces:
io.grpc.netty.InternalProtocolNegotiator.ClientFactory, io.grpc.netty.ProtocolNegotiator.ClientFactory
- Enclosing class:
AltsProtocolNegotiator
public static final class AltsProtocolNegotiator.ClientAltsProtocolNegotiatorFactory
extends Object
implements io.grpc.netty.InternalProtocolNegotiator.ClientFactory
ClientAltsProtocolNegotiatorFactory is a factory for doing client side negotiation of an ALTS
channel.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final io.grpc.internal.ObjectPool<io.grpc.Channel> private final com.google.common.collect.ImmutableList<String> -
Constructor Summary
ConstructorsConstructorDescriptionClientAltsProtocolNegotiatorFactory(List<String> targetServiceAccounts, io.grpc.internal.ObjectPool<io.grpc.Channel> handshakerChannelPool) -
Method Summary
Modifier and TypeMethodDescriptionintio.grpc.netty.InternalProtocolNegotiator.ProtocolNegotiator
-
Field Details
-
targetServiceAccounts
-
handshakerChannelPool
private final io.grpc.internal.ObjectPool<io.grpc.Channel> handshakerChannelPool
-
-
Constructor Details
-
ClientAltsProtocolNegotiatorFactory
-
-
Method Details
-
newNegotiator
public io.grpc.netty.InternalProtocolNegotiator.ProtocolNegotiator newNegotiator()- Specified by:
newNegotiatorin interfaceio.grpc.netty.InternalProtocolNegotiator.ClientFactory- Specified by:
newNegotiatorin interfaceio.grpc.netty.ProtocolNegotiator.ClientFactory
-
getDefaultPort
public int getDefaultPort()- Specified by:
getDefaultPortin interfaceio.grpc.netty.ProtocolNegotiator.ClientFactory
-