Class RTMPConnection.KeepAliveTask

java.lang.Object
org.red5.server.net.rtmp.RTMPConnection.KeepAliveTask
All Implemented Interfaces:
Runnable
Enclosing class:
RTMPConnection

private class RTMPConnection.KeepAliveTask extends Object implements Runnable
Task that keeps connection alive and disconnects if client is dead.
  • Field Details

    • lastBytesRead

      private final AtomicLong lastBytesRead
    • lastBytesReadTime

      private volatile long lastBytesReadTime
  • Constructor Details

    • KeepAliveTask

      private KeepAliveTask()
  • Method Details

    • run

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