Package io.aeron.driver.media
Class ImageConnection
java.lang.Object
io.aeron.driver.media.ImageConnection
State tracking for a connection endpoint to an image from transport.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal InetSocketAddressControl address for the source.longEnd of the stream position.booleanWas the end of the stream from source observed?longTime of the last observed activity on this connection for tracking liveness.longTime of the last observed from the source. -
Constructor Summary
ConstructorsConstructorDescriptionImageConnection(long timeOfLastActivityNs, InetSocketAddress controlAddress) Construct a representation of a connection to an image. -
Method Summary
-
Field Details
-
timeOfLastActivityNs
public long timeOfLastActivityNsTime of the last observed activity on this connection for tracking liveness. -
timeOfLastFrameNs
public long timeOfLastFrameNsTime of the last observed from the source. -
eosPosition
public long eosPositionEnd of the stream position. -
isEos
public boolean isEosWas the end of the stream from source observed? -
controlAddress
Control address for the source.
-
-
Constructor Details
-
ImageConnection
Construct a representation of a connection to an image.- Parameters:
timeOfLastActivityNs- seen on this image.controlAddress- for the source of the image.
-