Class ImageConnection

java.lang.Object
io.aeron.driver.media.ImageConnection

public final class ImageConnection extends Object
State tracking for a connection endpoint to an image from transport.
  • Field Details

    • timeOfLastActivityNs

      public long timeOfLastActivityNs
      Time of the last observed activity on this connection for tracking liveness.
    • timeOfLastFrameNs

      public long timeOfLastFrameNs
      Time of the last observed from the source.
    • eosPosition

      public long eosPosition
      End of the stream position.
    • isEos

      public boolean isEos
      Was the end of the stream from source observed?
    • controlAddress

      public final InetSocketAddress controlAddress
      Control address for the source.
  • Constructor Details

    • ImageConnection

      public ImageConnection(long timeOfLastActivityNs, InetSocketAddress controlAddress)
      Construct a representation of a connection to an image.
      Parameters:
      timeOfLastActivityNs - seen on this image.
      controlAddress - for the source of the image.