@FunctionalInterface public static interface UdpNameResolutionTransport.UdpFrameHandler
Modifier and Type | Method and Description |
---|---|
int |
onFrame(UnsafeBuffer unsafeBuffer,
int length,
InetSocketAddress srcAddress,
long nowMs)
Callback for processing the received frames.
|
int onFrame(UnsafeBuffer unsafeBuffer, int length, InetSocketAddress srcAddress, long nowMs)
unsafeBuffer
- containing the received frame.length
- of the frame in the buffer.srcAddress
- the frame came from.nowMs
- current time.Copyright © 2014-2022 Real Logic Limited. All Rights Reserved.