Top Description Fields Constructors Methods
reactor.netty.tcp

pack-priv final Class TcpClientConnect

extends TcpClient
Class Inheritance
Imports
java.util.Collections, io.netty.channel.ChannelOption, io.netty.util.NetUtil, reactor.netty.resources.ConnectionProvider, reactor.netty.transport.AddressUtils

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

Field Summary

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

The default port for reactor-netty servers.

Inherited from reactor.netty.tcp.TcpClient:
log

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
public TcpClientConfig
protected TcpClient
duplicate()

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

Return a new Transport inheriting the current configuration.
Inherited from reactor.netty.tcp.TcpClient:
addressSupplierattrbindAddressbootstrapconnectconnectNowconnectNowcreatecreatedoOnConnectdoOnConnecteddoOnDisconnectedhandlehostmetricsmetricsnewConnectionnoProxynoSSLobserveoptionportproxyremoteAddressresolverrunOnrunOnrunOnsecuresecuresecurewarmupwiretapwiretapwiretap

Field Detail

configback to summary
pack-priv final TcpClientConfig 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.

Constructor Detail

TcpClientConnectback to summary
pack-priv TcpClientConnect(ConnectionProvider provider)
TcpClientConnectback to summary
pack-priv TcpClientConnect(TcpClientConfig config)

Method Detail

configurationback to summary
public TcpClientConfig configuration()

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

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

Return a TransportConfig.

Returns:TcpClientConfig

a TransportConfig

Annotations
@Override
duplicateback to summary
protected TcpClient 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:TcpClient

a new Transport inheriting the current configuration

Annotations
@Override