public class DebugSendChannelEndpoint extends SendChannelEndpoint
bindAddress, connectAddress, endPointAddress, errorLog, invalidPackets, receiveDatagramChannel, selectionKey, sendDatagramChannel, transportPoller, udpChannel| Constructor and Description |
|---|
DebugSendChannelEndpoint(UdpChannel udpChannel,
org.agrona.concurrent.status.AtomicCounter statusIndicator,
MediaDriver.Context context) |
DebugSendChannelEndpoint(UdpChannel udpChannel,
org.agrona.concurrent.status.AtomicCounter statusIndicator,
MediaDriver.Context context,
LossGenerator dataLossGenerator,
LossGenerator controlLossGenerator) |
| Modifier and Type | Method and Description |
|---|---|
void |
onNakMessage(io.aeron.protocol.NakFlyweight msg,
java.net.InetSocketAddress srcAddress) |
void |
onStatusMessage(io.aeron.protocol.StatusMessageFlyweight msg,
java.net.InetSocketAddress srcAddress) |
int |
send(java.nio.ByteBuffer buffer)
Send contents of a
ByteBuffer to connected address. |
addPublication, closeStatusIndicator, getPublication, indicateActive, isStatusIndicatorClosed, openChannel, originalUriString, presend, registerForSend, removePublication, sessionCount, unregisterForSendclose, getOption, isMulticast, isValidFrame, multicastTtl, openDatagramChannel, receive, receiveDatagramChannel, registerForRead, udpChannelpublic DebugSendChannelEndpoint(UdpChannel udpChannel, org.agrona.concurrent.status.AtomicCounter statusIndicator, MediaDriver.Context context)
public DebugSendChannelEndpoint(UdpChannel udpChannel, org.agrona.concurrent.status.AtomicCounter statusIndicator, MediaDriver.Context context, LossGenerator dataLossGenerator, LossGenerator controlLossGenerator)
public int send(java.nio.ByteBuffer buffer)
SendChannelEndpointByteBuffer to connected address.
This is used on the send size for performance over sentTo().send in class SendChannelEndpointbuffer - to sendpublic void onStatusMessage(io.aeron.protocol.StatusMessageFlyweight msg,
java.net.InetSocketAddress srcAddress)
onStatusMessage in class SendChannelEndpointpublic void onNakMessage(io.aeron.protocol.NakFlyweight msg,
java.net.InetSocketAddress srcAddress)
onNakMessage in class SendChannelEndpointCopyright © 2014 - 2016 Real Logic Ltd. All Rights Reserved.