Package io.grpc.alts.internal
Class AltsProtocolNegotiator.ClientTsiHandshakerFactory
- java.lang.Object
-
- io.grpc.alts.internal.AltsProtocolNegotiator.ClientTsiHandshakerFactory
-
- All Implemented Interfaces:
TsiHandshakerFactory
- Enclosing class:
- AltsProtocolNegotiator
private static final class AltsProtocolNegotiator.ClientTsiHandshakerFactory extends java.lang.Object implements TsiHandshakerFactory
-
-
Field Summary
Fields Modifier and Type Field Description private AltsProtocolNegotiator.LazyChannellazyHandshakerChannelprivate com.google.common.collect.ImmutableList<java.lang.String>targetServiceAccounts
-
Constructor Summary
Constructors Constructor Description ClientTsiHandshakerFactory(com.google.common.collect.ImmutableList<java.lang.String> targetServiceAccounts, AltsProtocolNegotiator.LazyChannel lazyHandshakerChannel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TsiHandshakernewHandshaker(java.lang.String authority, io.grpc.ChannelLogger negotiationLogger)Creates a new handshaker.
-
-
-
Field Detail
-
targetServiceAccounts
private final com.google.common.collect.ImmutableList<java.lang.String> targetServiceAccounts
-
lazyHandshakerChannel
private final AltsProtocolNegotiator.LazyChannel lazyHandshakerChannel
-
-
Constructor Detail
-
ClientTsiHandshakerFactory
ClientTsiHandshakerFactory(com.google.common.collect.ImmutableList<java.lang.String> targetServiceAccounts, AltsProtocolNegotiator.LazyChannel lazyHandshakerChannel)
-
-
Method Detail
-
newHandshaker
public TsiHandshaker newHandshaker(@Nullable java.lang.String authority, io.grpc.ChannelLogger negotiationLogger)
Description copied from interface:TsiHandshakerFactoryCreates a new handshaker.- Specified by:
newHandshakerin interfaceTsiHandshakerFactory
-
-