Class AsyncSocketFactory.TimeoutRunnable

    • Field Detail

      • sync

        private final Object sync
        The sync.
      • timeout

        private final long timeout
        The timeout.
    • Constructor Detail

      • TimeoutRunnable

        public TimeoutRunnable​(Object sync,
                               long timeout)
        Instantiates a new timeout runnable.
        Parameters:
        sync - the sync
        timeout - the timeout
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable