public class Sender
extends java.lang.Object
implements org.agrona.concurrent.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 |
p10 |
protected long |
p11 |
protected long |
p12 |
protected long |
p13 |
protected long |
p14 |
protected long |
p15 |
protected long |
p16 |
protected long |
p17 |
protected long |
p18 |
protected long |
p19 |
protected long |
p2 |
protected long |
p20 |
protected long |
p21 |
protected long |
p22 |
protected long |
p23 |
protected long |
p24 |
protected long |
p25 |
protected long |
p26 |
protected long |
p27 |
protected long |
p28 |
protected long |
p29 |
protected long |
p3 |
protected long |
p30 |
protected long |
p4 |
protected long |
p5 |
protected long |
p6 |
protected long |
p7 |
protected long |
p8 |
protected long |
p9 |
protected int |
roundRobinIndex |
Constructor and Description |
---|
Sender(MediaDriver.Context ctx) |
Modifier and Type | Method and Description |
---|---|
int |
doWork() |
void |
onAddDestination(SendChannelEndpoint channelEndpoint,
java.net.InetSocketAddress address) |
void |
onClose() |
void |
onCloseSendChannelEndpoint(SendChannelEndpoint channelEndpoint) |
void |
onNewNetworkPublication(NetworkPublication publication) |
void |
onRegisterSendChannelEndpoint(SendChannelEndpoint channelEndpoint) |
void |
onRemoveDestination(SendChannelEndpoint channelEndpoint,
java.net.InetSocketAddress address) |
void |
onRemoveNetworkPublication(NetworkPublication publication) |
java.lang.String |
roleName() |
protected long p16
protected long p17
protected long p18
protected long p19
protected long p20
protected long p21
protected long p22
protected long p23
protected long p24
protected long p25
protected long p26
protected long p27
protected long p28
protected long p29
protected long p30
protected long controlPollDeadlineNs
protected int dutyCycleCounter
protected int roundRobinIndex
protected long p1
protected long p2
protected long p3
protected long p4
protected long p5
protected long p6
protected long p7
protected long p8
protected long p9
protected long p10
protected long p11
protected long p12
protected long p13
protected long p14
protected long p15
public Sender(MediaDriver.Context ctx)
public void onClose()
onClose
in interface org.agrona.concurrent.Agent
public int doWork()
doWork
in interface org.agrona.concurrent.Agent
public java.lang.String roleName()
roleName
in interface org.agrona.concurrent.Agent
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, java.net.InetSocketAddress address)
public void onRemoveDestination(SendChannelEndpoint channelEndpoint, java.net.InetSocketAddress address)
Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.