Class SocketInitiator.Signal

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.CountDownLatch mLatch  
      private int mMaxDelay  
    • Constructor Summary

      Constructors 
      Constructor Description
      Signal​(int maxDelay)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void await()  
      (package private) void done()  
      (package private) boolean isDone()  
      • Methods inherited from class java.lang.Object

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

      • mLatch

        private final java.util.concurrent.CountDownLatch mLatch
      • mMaxDelay

        private final int mMaxDelay
    • Constructor Detail

      • Signal

        Signal​(int maxDelay)
    • Method Detail

      • isDone

        boolean isDone()
      • await

        void await()
            throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • done

        void done()