Class UdpTransportPoller

java.lang.Object
org.agrona.nio.TransportPoller
io.aeron.driver.media.UdpTransportPoller
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
ControlTransportPoller, DataTransportPoller

public abstract class UdpTransportPoller extends TransportPoller
Encapsulates the polling of a number of UdpChannelTransports using whatever means provides the lowest latency.
  • Field Details

  • Constructor Details

    • UdpTransportPoller

      public UdpTransportPoller(ErrorHandler errorHandler)
      Construct a new TransportPoller with an ErrorHandler for logging.
      Parameters:
      errorHandler - which can be used to log errors and continue.
  • Method Details

    • pollTransports

      public abstract int pollTransports()
      Explicit event loop processing as a poll.
      Returns:
      the number of frames processed.