public class Sender extends Object implements Agent
NetworkPublication
s for sending them to registered subscribers.Modifier and Type | Field and Description |
---|---|
protected long |
controlPollDeadlineNs |
protected int |
dutyCycleCounter |
protected long |
p1 |
protected long |
p2 |
protected long |
p3 |
protected long |
p4 |
protected long |
p5 |
protected long |
p6 |
protected long |
p7 |
protected long |
reResolutionDeadlineNs |
protected int |
roundRobinIndex |
Constructor and Description |
---|
Sender(MediaDriver.Context ctx) |
Modifier and Type | Method and Description |
---|---|
int |
doWork() |
void |
onAddDestination(SendChannelEndpoint channelEndpoint,
ChannelUri channelUri,
InetSocketAddress address) |
void |
onClose() |
void |
onCloseSendChannelEndpoint(SendChannelEndpoint channelEndpoint) |
void |
onNewNetworkPublication(NetworkPublication publication) |
void |
onRegisterSendChannelEndpoint(SendChannelEndpoint channelEndpoint) |
void |
onRemoveDestination(SendChannelEndpoint channelEndpoint,
ChannelUri channelUri,
InetSocketAddress address) |
void |
onRemoveNetworkPublication(NetworkPublication publication) |
void |
onResolutionChange(SendChannelEndpoint channelEndpoint,
String endpoint,
InetSocketAddress newAddress) |
String |
roleName() |
protected long p1
protected long p2
protected long p3
protected long p4
protected long p5
protected long p6
protected long p7
protected long controlPollDeadlineNs
protected long reResolutionDeadlineNs
protected int dutyCycleCounter
protected int roundRobinIndex
public Sender(MediaDriver.Context ctx)
public void onRegisterSendChannelEndpoint(SendChannelEndpoint channelEndpoint)
public void onCloseSendChannelEndpoint(SendChannelEndpoint channelEndpoint)
public void onNewNetworkPublication(NetworkPublication publication)
public void onRemoveNetworkPublication(NetworkPublication publication)
public void onAddDestination(SendChannelEndpoint channelEndpoint, ChannelUri channelUri, InetSocketAddress address)
public void onRemoveDestination(SendChannelEndpoint channelEndpoint, ChannelUri channelUri, InetSocketAddress address)
public void onResolutionChange(SendChannelEndpoint channelEndpoint, String endpoint, InetSocketAddress newAddress)
Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.