Package io.aeron.driver.media
Interface UdpNameResolutionTransport.UdpFrameHandler
- Enclosing class:
- UdpNameResolutionTransport
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Handler for processing the received frames.
-
Method Summary
Modifier and TypeMethodDescriptionintonFrame(UnsafeBuffer unsafeBuffer, int length, InetSocketAddress srcAddress, long nowMs) Callback for processing the received frames.
-
Method Details
-
onFrame
Callback for processing the received frames.- Parameters:
unsafeBuffer- containing the received frame.length- of the frame in the buffer.srcAddress- the frame came from.nowMs- current time.- Returns:
- the number of bytes received.
-