Package io.aeron.driver
Class DefaultReceiveChannelEndpointSupplier
java.lang.Object
io.aeron.driver.DefaultReceiveChannelEndpointSupplier
- All Implemented Interfaces:
ReceiveChannelEndpointSupplier
public class DefaultReceiveChannelEndpointSupplier
extends Object
implements ReceiveChannelEndpointSupplier
Supply the default implementation of the
ReceiveChannelEndpoint.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewInstance(UdpChannel udpChannel, DataPacketDispatcher dispatcher, AtomicCounter statusIndicator, MediaDriver.Context context) A new instance of a specialisedReceiveChannelEndpoint.
-
Constructor Details
-
DefaultReceiveChannelEndpointSupplier
public DefaultReceiveChannelEndpointSupplier()
-
-
Method Details
-
newInstance
public ReceiveChannelEndpoint newInstance(UdpChannel udpChannel, DataPacketDispatcher dispatcher, AtomicCounter statusIndicator, MediaDriver.Context context) A new instance of a specialisedReceiveChannelEndpoint.- 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:
- new instance of a specialised
ReceiveChannelEndpoint.
-