Package io.grpc.alts

Class HandshakerServiceChannel.ChannelResource

  • All Implemented Interfaces:
    io.grpc.internal.SharedResourceHolder.Resource<io.grpc.Channel>
    Enclosing class:
    HandshakerServiceChannel

    private static class HandshakerServiceChannel.ChannelResource
    extends java.lang.Object
    implements io.grpc.internal.SharedResourceHolder.Resource<io.grpc.Channel>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String target  
    • Constructor Summary

      Constructors 
      Constructor Description
      ChannelResource​(java.lang.String target)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close​(io.grpc.Channel instanceChannel)  
      io.grpc.Channel create()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • target

        private final java.lang.String target
    • Constructor Detail

      • ChannelResource

        public ChannelResource​(java.lang.String target)
    • Method Detail

      • create

        public io.grpc.Channel create()
        Specified by:
        create in interface io.grpc.internal.SharedResourceHolder.Resource<io.grpc.Channel>
      • close

        public void close​(io.grpc.Channel instanceChannel)
        Specified by:
        close in interface io.grpc.internal.SharedResourceHolder.Resource<io.grpc.Channel>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object