Class AltsProtocolNegotiator.ServerAltsProtocolNegotiator
java.lang.Object
io.grpc.alts.internal.AltsProtocolNegotiator.ServerAltsProtocolNegotiator
- All Implemented Interfaces:
io.grpc.netty.InternalProtocolNegotiator.ProtocolNegotiator
- Enclosing class:
AltsProtocolNegotiator
static final class AltsProtocolNegotiator.ServerAltsProtocolNegotiator
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
ConstructorsConstructorDescriptionServerAltsProtocolNegotiator(TsiHandshakerFactory handshakerFactory, AltsProtocolNegotiator.LazyChannel lazyHandshakerChannel) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()io.netty.channel.ChannelHandlernewHandler(io.grpc.netty.GrpcHttp2ConnectionHandler grpcHandler) io.netty.util.AsciiStringscheme()
-
Field Details
-
handshakerFactory
-
lazyHandshakerChannel
-
-
Constructor Details
-
ServerAltsProtocolNegotiator
ServerAltsProtocolNegotiator(TsiHandshakerFactory handshakerFactory, AltsProtocolNegotiator.LazyChannel lazyHandshakerChannel)
-
-
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()
-