public class MultiRcvDestination
extends java.lang.Object
implements java.lang.AutoCloseable
Constructor and Description |
---|
MultiRcvDestination(org.agrona.concurrent.NanoClock nanoClock,
long timeoutNs) |
Modifier and Type | Method and Description |
---|---|
int |
addDestination(ReceiveDestinationUdpTransport transport) |
void |
close() |
boolean |
hasDestination(int transportIndex) |
void |
removeDestination(int transportIndex) |
static int |
sendTo(UdpChannelTransport transport,
java.nio.ByteBuffer buffer,
java.net.InetSocketAddress remoteAddress) |
int |
sendToAll(ImageConnection[] imageConnections,
java.nio.ByteBuffer buffer,
int position,
int bytesToSend) |
ReceiveDestinationUdpTransport |
transport(int transportIndex) |
int |
transport(UdpChannel udpChannel) |
public MultiRcvDestination(org.agrona.concurrent.NanoClock nanoClock, long timeoutNs)
public void close()
close
in interface java.lang.AutoCloseable
public int addDestination(ReceiveDestinationUdpTransport transport)
public void removeDestination(int transportIndex)
public boolean hasDestination(int transportIndex)
public ReceiveDestinationUdpTransport transport(int transportIndex)
public int transport(UdpChannel udpChannel)
public int sendToAll(ImageConnection[] imageConnections, java.nio.ByteBuffer buffer, int position, int bytesToSend)
public static int sendTo(UdpChannelTransport transport, java.nio.ByteBuffer buffer, java.net.InetSocketAddress remoteAddress)
Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.