Package io.grpc.alts
Class HandshakerServiceChannel
- java.lang.Object
-
- io.grpc.alts.HandshakerServiceChannel
-
final class HandshakerServiceChannel extends java.lang.Object
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 Classes Modifier and Type Class Description private static class
HandshakerServiceChannel.ChannelResource
private static class
HandshakerServiceChannel.EventLoopHoldingChannel
private static class
HandshakerServiceChannel.ForwardingChannel
-
Field Summary
Fields Modifier and Type Field Description (package private) static io.grpc.internal.SharedResourceHolder.Resource<io.grpc.Channel>
SHARED_HANDSHAKER_CHANNEL
-
Constructor Summary
Constructors Constructor Description HandshakerServiceChannel()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static io.grpc.internal.SharedResourceHolder.Resource<io.grpc.Channel>
getHandshakerChannelForTesting(java.lang.String handshakerAddress)
Returns a resource of handshaker service channel for testing only.
-