Class AltsProtocolNegotiator.ClientAltsProtocolNegotiator
java.lang.Object
io.grpc.alts.internal.AltsProtocolNegotiator.ClientAltsProtocolNegotiator
- All Implemented Interfaces:
io.grpc.netty.InternalProtocolNegotiator.ProtocolNegotiator
- Enclosing class:
AltsProtocolNegotiator
private static final class AltsProtocolNegotiator.ClientAltsProtocolNegotiator
extends Object
implements io.grpc.netty.InternalProtocolNegotiator.ProtocolNegotiator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceio.grpc.netty.ProtocolNegotiator.ClientFactorystatic interfaceio.grpc.netty.ProtocolNegotiator.ServerFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TsiHandshakerFactoryprivate final AltsProtocolNegotiator.LazyChannel -
Constructor Summary
ConstructorsConstructorDescriptionClientAltsProtocolNegotiator(com.google.common.collect.ImmutableList<String> targetServiceAccounts, io.grpc.internal.ObjectPool<io.grpc.Channel> handshakerChannelPool) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()io.netty.channel.ChannelHandlernewHandler(io.grpc.netty.GrpcHttp2ConnectionHandler grpcHandler) io.netty.util.AsciiStringscheme()
-
Field Details
-
handshakerFactory
-
lazyHandshakerChannel
-
-
Constructor Details
-
ClientAltsProtocolNegotiator
ClientAltsProtocolNegotiator(com.google.common.collect.ImmutableList<String> targetServiceAccounts, io.grpc.internal.ObjectPool<io.grpc.Channel> handshakerChannelPool)
-
-
Method Details
-
scheme
public io.netty.util.AsciiString scheme() -
newHandler
public io.netty.channel.ChannelHandler newHandler(io.grpc.netty.GrpcHttp2ConnectionHandler grpcHandler) -
close
public void close()
-