public class ControlTransportPoller extends UdpTransportPoller
UdpChannelTransport
s using whatever means provides the lowest latency.errorHandler
ITERATION_THRESHOLD, PUBLIC_SELECTED_KEYS_FIELD, SELECTED_KEYS_FIELD, selectedKeySet, selector
Constructor and Description |
---|
ControlTransportPoller(ErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
void |
cancelRead(SendChannelEndpoint transport) |
void |
cancelRead(UdpChannelTransport transport)
Cancel previous registration.
|
void |
checkForReResolutions(long nowNs,
DriverConductorProxy conductorProxy) |
void |
close() |
int |
pollTransports()
Explicit event loop processing as a poll
|
SelectionKey |
registerForRead(SendChannelEndpoint transport) |
SelectionKey |
registerForRead(UdpChannelTransport transport)
Register channel for read.
|
selectNowWithoutProcessing
public ControlTransportPoller(ErrorHandler errorHandler)
public void close()
close
in interface AutoCloseable
close
in class TransportPoller
public int pollTransports()
UdpTransportPoller
pollTransports
in class UdpTransportPoller
public SelectionKey registerForRead(UdpChannelTransport transport)
UdpTransportPoller
registerForRead
in class UdpTransportPoller
transport
- to associate with readpublic SelectionKey registerForRead(SendChannelEndpoint transport)
public void cancelRead(UdpChannelTransport transport)
UdpTransportPoller
cancelRead
in class UdpTransportPoller
transport
- to cancel read forpublic void cancelRead(SendChannelEndpoint transport)
public void checkForReResolutions(long nowNs, DriverConductorProxy conductorProxy)
Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.