Class AltsHandshakerStub


  • class AltsHandshakerStub
    extends java.lang.Object
    An interface to the ALTS handshaker service.
    • Method Detail

      • getReaderForTest

        io.grpc.stub.StreamObserver<HandshakerResp> getReaderForTest()
      • send

        public HandshakerResp send​(HandshakerReq req)
                            throws java.lang.InterruptedException,
                                   java.io.IOException
        Send a handshaker request and return the handshaker response.
        Throws:
        java.lang.InterruptedException
        java.io.IOException
      • createWriterIfNull

        private void createWriterIfNull()
        Create a new writer if the writer is null.
      • maybeThrowIoException

        private void maybeThrowIoException()
                                    throws java.io.IOException
        Throw exception if there is an outstanding exception.
        Throws:
        java.io.IOException
      • close

        public void close()
        Close the connection.