public class DebugReceiveChannelEndpoint extends ReceiveChannelEndpoint
bindAddress, connectAddress, endPointAddress, errorLog, invalidPackets, receiveDatagramChannel, selectionKey, sendDatagramChannel, transportPoller, udpChannel| Constructor and Description |
|---|
DebugReceiveChannelEndpoint(UdpChannel udpChannel,
DataPacketDispatcher dispatcher,
org.agrona.concurrent.status.AtomicCounter statusIndicator,
MediaDriver.Context context) |
DebugReceiveChannelEndpoint(UdpChannel udpChannel,
DataPacketDispatcher dispatcher,
org.agrona.concurrent.status.AtomicCounter statusIndicator,
MediaDriver.Context context,
LossGenerator dataLossGenerator,
LossGenerator controlLossGenerator) |
| Modifier and Type | Method and Description |
|---|---|
int |
onDataPacket(io.aeron.protocol.DataHeaderFlyweight header,
org.agrona.concurrent.UnsafeBuffer buffer,
int length,
java.net.InetSocketAddress srcAddress) |
void |
onRttMeasurement(io.aeron.protocol.RttMeasurementFlyweight header,
org.agrona.concurrent.UnsafeBuffer buffer,
int length,
java.net.InetSocketAddress srcAddress) |
void |
onSetupMessage(io.aeron.protocol.SetupFlyweight header,
org.agrona.concurrent.UnsafeBuffer buffer,
int length,
java.net.InetSocketAddress srcAddress) |
int |
sendTo(java.nio.ByteBuffer buffer,
java.net.InetSocketAddress remoteAddress)
Send contents of
ByteBuffer to remote address |
addPublicationImage, addSubscription, close, closeStatusIndicator, decRefToStream, explicitControlAddress, hasExplicitControl, incRefToStream, indicateActive, openChannel, originalUriString, possibleTtlAsymmetryEncountered, removeCoolDown, removePendingSetup, removePublicationImage, removeSubscription, sendNakMessage, sendRttMeasurement, sendSetupElicitingStatusMessage, sendStatusMessage, shouldBeClosed, shouldElicitSetupMessage, streamCount, validateSenderMtuLength, validateWindowMaxLengthgetOption, isMulticast, isValidFrame, multicastTtl, openDatagramChannel, receive, receiveDatagramChannel, registerForRead, udpChannelpublic DebugReceiveChannelEndpoint(UdpChannel udpChannel, DataPacketDispatcher dispatcher, org.agrona.concurrent.status.AtomicCounter statusIndicator, MediaDriver.Context context)
public DebugReceiveChannelEndpoint(UdpChannel udpChannel, DataPacketDispatcher dispatcher, org.agrona.concurrent.status.AtomicCounter statusIndicator, MediaDriver.Context context, LossGenerator dataLossGenerator, LossGenerator controlLossGenerator)
public int sendTo(java.nio.ByteBuffer buffer,
java.net.InetSocketAddress remoteAddress)
ReceiveChannelEndpointByteBuffer to remote addresssendTo in class ReceiveChannelEndpointbuffer - to sendremoteAddress - to send topublic int onDataPacket(io.aeron.protocol.DataHeaderFlyweight header,
org.agrona.concurrent.UnsafeBuffer buffer,
int length,
java.net.InetSocketAddress srcAddress)
onDataPacket in class ReceiveChannelEndpointpublic void onSetupMessage(io.aeron.protocol.SetupFlyweight header,
org.agrona.concurrent.UnsafeBuffer buffer,
int length,
java.net.InetSocketAddress srcAddress)
onSetupMessage in class ReceiveChannelEndpointpublic void onRttMeasurement(io.aeron.protocol.RttMeasurementFlyweight header,
org.agrona.concurrent.UnsafeBuffer buffer,
int length,
java.net.InetSocketAddress srcAddress)
onRttMeasurement in class ReceiveChannelEndpointCopyright © 2014-2017 Real Logic Ltd. All Rights Reserved.