Package io.grpc.alts.internal
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 interface
io.grpc.netty.ProtocolNegotiator.ClientFactory
static interface
io.grpc.netty.ProtocolNegotiator.ServerFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TsiHandshakerFactory
private 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 TypeMethodDescriptionvoid
close()
io.netty.channel.ChannelHandler
newHandler
(io.grpc.netty.GrpcHttp2ConnectionHandler grpcHandler) io.netty.util.AsciiString
scheme()
-
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()
-