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 Object
implements TsiHandshakerFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AltsProtocolNegotiator.LazyChannel
private final com.google.common.collect.ImmutableList
<String> -
Constructor Summary
ConstructorsConstructorDescriptionClientTsiHandshakerFactory
(com.google.common.collect.ImmutableList<String> targetServiceAccounts, AltsProtocolNegotiator.LazyChannel lazyHandshakerChannel) -
Method Summary
Modifier and TypeMethodDescriptionnewHandshaker
(String authority, io.grpc.ChannelLogger negotiationLogger) Creates a new handshaker.
-
Field Details
-
targetServiceAccounts
-
lazyHandshakerChannel
-
-
Constructor Details
-
ClientTsiHandshakerFactory
ClientTsiHandshakerFactory(com.google.common.collect.ImmutableList<String> targetServiceAccounts, AltsProtocolNegotiator.LazyChannel lazyHandshakerChannel)
-
-
Method Details
-
newHandshaker
public TsiHandshaker newHandshaker(@Nullable String authority, io.grpc.ChannelLogger negotiationLogger) Description copied from interface:TsiHandshakerFactory
Creates a new handshaker.- Specified by:
newHandshaker
in interfaceTsiHandshakerFactory
-