Top Description Fields Constructors Methods
reactor.netty.udp

pack-priv final Class UdpClientConnect

extends UdpClient
Class Inheritance
Imports
io.netty.channel.ChannelOption, io.netty.util.NetUtil, reactor.netty.resources.ConnectionProvider, java.net.InetSocketAddress, java.util.Collections

Provides the actual UdpClient instance.
Authors
Stephane Maldini, Violeta Georgieva

Field Summary

Modifier and TypeField and Description
pack-priv final UdpClientConfig
pack-priv static final int
DEFAULT_PORT

The default port for reactor-netty servers.

pack-priv static final UdpClientConnect
Inherited from reactor.netty.udp.UdpClient:
log

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
public UdpClientConfig
protected UdpClient
duplicate()

Implements abstract reactor.netty.transport.Transport.duplicate.

Return a new Transport inheriting the current configuration.
Inherited from reactor.netty.udp.UdpClient:
attrbindAddressconnectconnectNowconnectNowcreatedoOnConnectdoOnConnecteddoOnDisconnectedhandlehostmetricsmetricsobserveoptionportremoteAddressrunOnrunOnrunOnrunOnwiretapwiretapwiretap

Field Detail

configback to summary
pack-priv final UdpClientConfig config
DEFAULT_PORTback to summary
pack-priv static final int DEFAULT_PORT

The default port for reactor-netty servers. Defaults to 12012 but can be tuned via the PORT environment variable.

INSTANCEback to summary
pack-priv static final UdpClientConnect INSTANCE

Constructor Detail

UdpClientConnectback to summary
pack-priv UdpClientConnect()
UdpClientConnectback to summary
pack-priv UdpClientConnect(UdpClientConfig config)

Method Detail

configurationback to summary
public UdpClientConfig configuration()

Implements abstract reactor.netty.transport.Transport.configuration.

Doc from reactor.netty.transport.Transport.configuration.

Return a TransportConfig.

Returns:UdpClientConfig

a TransportConfig

Annotations
@Override
duplicateback to summary
protected UdpClient duplicate()

Implements abstract reactor.netty.transport.Transport.duplicate.

Doc from reactor.netty.transport.Transport.duplicate.

Return a new Transport inheriting the current configuration. This is a shallow copy.

Returns:UdpClient

a new Transport inheriting the current configuration

Annotations
@Override