Top Description Fields Constructors Methods
reactor.netty.tcp

pack-priv final Class TcpServerBind

extends TcpServer
Class Inheritance
Imports
io.netty.channel.ChannelOption, reactor.core.publisher.Mono, reactor.netty.DisposableServer, reactor.netty.internal.util.MapUtils, java.net.InetSocketAddress, java.util.Collections, .HashMap, .Map

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

Field Summary

Modifier and TypeField and Description
pack-priv final TcpServerConfig
pack-priv static final int
pack-priv static final TcpServerBind
Inherited from reactor.netty.tcp.TcpServer:
log

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Mono<? extends DisposableServer>
public TcpServerConfig
protected TcpServer
duplicate()

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

Return a new Transport inheriting the current configuration.
Inherited from reactor.netty.tcp.TcpServer:
bindAddresschannelGroupcreatedoOnBinddoOnBounddoOnConnectiondoOnUnboundhandlehostmetricsmetricsnoSSLportrunOnrunOnrunOnsecuresecurewarmupwiretapwiretapwiretap

Field Detail

configback to summary
pack-priv final TcpServerConfig config
DEFAULT_PORTback to summary
pack-priv static final int DEFAULT_PORT
INSTANCEback to summary
pack-priv static final TcpServerBind INSTANCE

Constructor Detail

TcpServerBindback to summary
pack-priv TcpServerBind()
TcpServerBindback to summary
pack-priv TcpServerBind(TcpServerConfig config)

Method Detail

bindback to summary
public Mono<? extends DisposableServer> bind()

Overrides reactor.netty.transport.ServerTransport.bind.

Doc from reactor.netty.transport.ServerTransport.bind.

Binds the ServerTransport and returns a Mono of DisposableServer. If Mono is cancelled, the underlying binding will be aborted. Once the DisposableServer has been emitted and is not necessary anymore, disposing the main server loop must be done by the user via DisposableServer#dispose().

Returns:Mono<? extends DisposableServer>

a Mono of DisposableServer

Annotations
@Override
@SuppressWarnings:deprecation
configurationback to summary
public TcpServerConfig configuration()

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

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

Return a TransportConfig.

Returns:TcpServerConfig

a TransportConfig

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

a new Transport inheriting the current configuration

Annotations
@Override