public class Receiver
extends java.lang.Object
implements org.agrona.concurrent.Agent
Constructor and Description |
---|
Receiver(MediaDriver.Context ctx) |
Modifier and Type | Method and Description |
---|---|
void |
addPendingSetupMessage(int sessionId,
int streamId,
int transportIndex,
ReceiveChannelEndpoint channelEndpoint,
boolean periodic,
java.net.InetSocketAddress controlAddress) |
int |
doWork() |
void |
onAddDestination(ReceiveChannelEndpoint channelEndpoint,
ReceiveDestinationUdpTransport transport) |
void |
onAddSubscription(ReceiveChannelEndpoint channelEndpoint,
int streamId) |
void |
onAddSubscription(ReceiveChannelEndpoint channelEndpoint,
int streamId,
int sessionId) |
void |
onClose() |
void |
onCloseReceiveChannelEndpoint(ReceiveChannelEndpoint channelEndpoint) |
void |
onNewPublicationImage(ReceiveChannelEndpoint channelEndpoint,
PublicationImage image) |
void |
onRegisterReceiveChannelEndpoint(ReceiveChannelEndpoint channelEndpoint) |
void |
onRemoveCoolDown(ReceiveChannelEndpoint channelEndpoint,
int sessionId,
int streamId) |
void |
onRemoveDestination(ReceiveChannelEndpoint channelEndpoint,
UdpChannel udpChannel) |
void |
onRemoveSubscription(ReceiveChannelEndpoint channelEndpoint,
int streamId) |
void |
onRemoveSubscription(ReceiveChannelEndpoint channelEndpoint,
int streamId,
int sessionId) |
java.lang.String |
roleName() |
public Receiver(MediaDriver.Context ctx)
public void onClose()
onClose
in interface org.agrona.concurrent.Agent
public java.lang.String roleName()
roleName
in interface org.agrona.concurrent.Agent
public int doWork()
doWork
in interface org.agrona.concurrent.Agent
public void addPendingSetupMessage(int sessionId, int streamId, int transportIndex, ReceiveChannelEndpoint channelEndpoint, boolean periodic, java.net.InetSocketAddress controlAddress)
public void onAddSubscription(ReceiveChannelEndpoint channelEndpoint, int streamId)
public void onAddSubscription(ReceiveChannelEndpoint channelEndpoint, int streamId, int sessionId)
public void onRemoveSubscription(ReceiveChannelEndpoint channelEndpoint, int streamId)
public void onRemoveSubscription(ReceiveChannelEndpoint channelEndpoint, int streamId, int sessionId)
public void onNewPublicationImage(ReceiveChannelEndpoint channelEndpoint, PublicationImage image)
public void onRegisterReceiveChannelEndpoint(ReceiveChannelEndpoint channelEndpoint)
public void onCloseReceiveChannelEndpoint(ReceiveChannelEndpoint channelEndpoint)
public void onRemoveCoolDown(ReceiveChannelEndpoint channelEndpoint, int sessionId, int streamId)
public void onAddDestination(ReceiveChannelEndpoint channelEndpoint, ReceiveDestinationUdpTransport transport)
public void onRemoveDestination(ReceiveChannelEndpoint channelEndpoint, UdpChannel udpChannel)
Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.