public class DebugReceiveChannelEndpoint extends ReceiveChannelEndpoint
bindAddress, connectAddress, endPointAddress, errorLog, invalidPackets, isClosed, multicastTtl, 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(DataHeaderFlyweight header,
org.agrona.concurrent.UnsafeBuffer buffer,
int length,
java.net.InetSocketAddress srcAddress,
int transportIndex) |
void |
onRttMeasurement(RttMeasurementFlyweight header,
org.agrona.concurrent.UnsafeBuffer buffer,
int length,
java.net.InetSocketAddress srcAddress,
int transportIndex) |
void |
onSetupMessage(SetupFlyweight header,
org.agrona.concurrent.UnsafeBuffer buffer,
int length,
java.net.InetSocketAddress srcAddress,
int transportIndex) |
int |
sendTo(java.nio.ByteBuffer buffer,
java.net.InetSocketAddress remoteAddress)
Send contents of
ByteBuffer to the remote address. |
addDestination, addPublicationImage, addSubscription, addSubscription, closeMultiRcvDestination, closeStatusIndicator, decRefToStream, decRefToStreamAndSession, destination, destination, explicitControlAddress, hasDestinationControl, hasExplicitControl, incRefToStream, incRefToStreamAndSession, indicateActive, isMulticast, isMulticast, multicastTtl, multicastTtl, openChannel, originalUriString, possibleTtlAsymmetryEncountered, removeCoolDown, removeDestination, removePendingSetup, removePublicationImage, removeSubscription, removeSubscription, send, send, sendNakMessage, sendRttMeasurement, sendRttMeasurement, sendSetupElicitingStatusMessage, sendStatusMessage, shouldBeClosed, shouldElicitSetupMessage, statusIndicatorCounterId, streamCount, udpChannel, udpChannel, validateAllowsDestinationControl
close, isValidFrame, openDatagramChannel, receive, receiveDatagramChannel, receiveHook, registerForRead, sendError, sendHook
public 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)
ReceiveChannelEndpoint
ByteBuffer
to the remote address.sendTo
in class ReceiveChannelEndpoint
buffer
- to send containing the payload.remoteAddress
- to send to send the payload to.public int onDataPacket(DataHeaderFlyweight header, org.agrona.concurrent.UnsafeBuffer buffer, int length, java.net.InetSocketAddress srcAddress, int transportIndex)
onDataPacket
in class ReceiveChannelEndpoint
public void onSetupMessage(SetupFlyweight header, org.agrona.concurrent.UnsafeBuffer buffer, int length, java.net.InetSocketAddress srcAddress, int transportIndex)
onSetupMessage
in class ReceiveChannelEndpoint
public void onRttMeasurement(RttMeasurementFlyweight header, org.agrona.concurrent.UnsafeBuffer buffer, int length, java.net.InetSocketAddress srcAddress, int transportIndex)
onRttMeasurement
in class ReceiveChannelEndpoint
Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.