public class DebugSendChannelEndpoint extends SendChannelEndpoint
bindAddress, connectAddress, endPointAddress, errorLog, receiveBuffer, receiveByteBuffer, receiveDatagramChannel, selectionKey, sendDatagramChannel, transportPoller, udpChannel| Constructor and Description |
|---|
DebugSendChannelEndpoint(UdpChannel udpChannel,
MediaDriver.Context context) |
DebugSendChannelEndpoint(UdpChannel udpChannel,
MediaDriver.Context context,
LossGenerator dataLossGenerator,
LossGenerator controlLossGenerator) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
dispatch(org.agrona.concurrent.UnsafeBuffer buffer,
int length,
java.net.InetSocketAddress srcAddress) |
int |
send(java.nio.ByteBuffer buffer)
Send contents of a
ByteBuffer to connected address. |
addPublication, getPublication, openChannel, originalUriString, pollForData, presend, registerForSend, removePublication, sessionCount, unregisterForSendclose, getOption, isMulticast, isValidFrame, multicastTtl, openDatagramChannel, receive, receiveBufferCapacity, receiveDatagramChannel, registerForRead, udpChannelpublic DebugSendChannelEndpoint(UdpChannel udpChannel, MediaDriver.Context context)
public DebugSendChannelEndpoint(UdpChannel udpChannel, 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 sendprotected int dispatch(org.agrona.concurrent.UnsafeBuffer buffer,
int length,
java.net.InetSocketAddress srcAddress)
dispatch in class SendChannelEndpointCopyright © 2014 - 2016 Real Logic Ltd. All Rights Reserved.