Package io.aeron.driver.ext
Class DebugSendChannelEndpointSupplier
java.lang.Object
io.aeron.driver.ext.DebugSendChannelEndpointSupplier
- All Implemented Interfaces:
SendChannelEndpointSupplier
Supply a debug implementation of a
SendChannelEndpoint for testing loss.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewInstance(UdpChannel udpChannel, AtomicCounter statusIndicator, MediaDriver.Context context) Supply a new instance of aDebugSendChannelEndpointfor testing loss.
-
Constructor Details
-
DebugSendChannelEndpointSupplier
public DebugSendChannelEndpointSupplier()
-
-
Method Details
-
newInstance
public SendChannelEndpoint newInstance(UdpChannel udpChannel, AtomicCounter statusIndicator, MediaDriver.Context context) Supply a new instance of aDebugSendChannelEndpointfor testing loss.- Specified by:
newInstancein interfaceSendChannelEndpointSupplier- Parameters:
udpChannel- on which the sender will send.statusIndicator- for the channel.context- for the configuration of the driver.- Returns:
- a new instance of a
DebugSendChannelEndpointfor testing loss.
-