@FunctionalInterface
public interface LossGenerator
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldDropFrame(java.net.InetSocketAddress address,
org.agrona.concurrent.UnsafeBuffer buffer,
int length)
Should a frame be dropped?
|
boolean shouldDropFrame(java.net.InetSocketAddress address,
org.agrona.concurrent.UnsafeBuffer buffer,
int length)
address - The source address of the frame if inbound or the remote address if outbound.buffer - The buffer containing the frame data.length - The length of the frame.Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.