Package io.grpc.alts
Class HandshakerServiceChannel
java.lang.Object
io.grpc.alts.HandshakerServiceChannel
Class for creating a single shared gRPC channel to the ALTS Handshaker Service using
SharedResourceHolder. The channel to the handshaker service is local and is over plaintext. Each
application will have at most one connection to the handshaker service.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
private static class
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final io.grpc.internal.SharedResourceHolder.Resource
<io.grpc.Channel> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static io.grpc.internal.SharedResourceHolder.Resource
<io.grpc.Channel> getHandshakerChannelForTesting
(String handshakerAddress) Returns a resource of handshaker service channel for testing only.
-
Field Details
-
SHARED_HANDSHAKER_CHANNEL
static final io.grpc.internal.SharedResourceHolder.Resource<io.grpc.Channel> SHARED_HANDSHAKER_CHANNEL
-
-
Constructor Details
-
HandshakerServiceChannel
HandshakerServiceChannel()
-
-
Method Details
-
getHandshakerChannelForTesting
static io.grpc.internal.SharedResourceHolder.Resource<io.grpc.Channel> getHandshakerChannelForTesting(String handshakerAddress) Returns a resource of handshaker service channel for testing only.
-