Package io.aeron.driver.ext
Class DebugReceiveChannelEndpointSupplier
java.lang.Object
io.aeron.driver.ext.DebugReceiveChannelEndpointSupplier
- All Implemented Interfaces:
ReceiveChannelEndpointSupplier
public class DebugReceiveChannelEndpointSupplier
extends Object
implements ReceiveChannelEndpointSupplier
Supply a debug implementation of a
ReceiveChannelEndpoint for testing loss.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewInstance(UdpChannel udpChannel, DataPacketDispatcher dispatcher, AtomicCounter statusIndicator, MediaDriver.Context context) Supply a new instance of aDebugReceiveChannelEndpointfor testing loss.
-
Constructor Details
-
DebugReceiveChannelEndpointSupplier
public DebugReceiveChannelEndpointSupplier()
-
-
Method Details
-
newInstance
public ReceiveChannelEndpoint newInstance(UdpChannel udpChannel, DataPacketDispatcher dispatcher, AtomicCounter statusIndicator, MediaDriver.Context context) Supply a new instance of aDebugReceiveChannelEndpointfor testing loss.- Specified by:
newInstancein interfaceReceiveChannelEndpointSupplier- Parameters:
udpChannel- on which the receiver is listening.dispatcher- for dispatching packets to publication images.statusIndicator- for the channel.context- for the configuration of the driver.- Returns:
- a new instance of a
DebugReceiveChannelEndpointfor testing loss.
-