| Modifier and Type | Field and Description |
|---|---|
| private volatile int | |
| private TCPServerBase | |
| private Future | |
| private ServerChannelLoadBalancer | |
| private BiConsumer | |
| protected final Context | |
| private EventLoop | |
| private ContextInternal | |
| private volatile boolean | |
| private static final Logger | |
| private TCPMetrics | |
| protected final NetServerOptions | |
| private Set | |
| private volatile Future | |
| private SSLHelper | |
| private GlobalTrafficShapingHandler | |
| protected final VertxInternal | |
| private Handler |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public int | |
| private void | applyConnectionOptions(boolean
whether it's a domain socket server domainSocket, ServerBootstrap the Netty server bootstrap bootstrap)Apply the connection option to the server. |
| public Future | |
| protected abstract BiConsumer | childHandler(ContextInternal context, SocketAddress socketAddress, GlobalTrafficShapingHandler trafficShapingHandler)
|
| public synchronized void | close(Promise<Void>
the promise to signal when close has completed completion)Implements io. Close this resource, the |
| public abstract Future | |
| protected TCPMetrics | |
| protected SSLHelper | |
| protected GlobalTrafficShapingHandler | |
| private GlobalTrafficShapingHandler | |
| public synchronized TCPMetrics | getMetrics()
Implements io. Returns the metrics implementation. |
| public boolean | |
| public boolean | isMetricsEnabled()
Overrides default io. Whether the metrics are enabled for this measured object |
| private synchronized Future | |
| public int | |
| public SslContextProvider | |
| public Future | |
| public void |
| actualPort | back to summary |
|---|---|
| private volatile int actualPort | |
| actualServer | back to summary |
|---|---|
| private TCPServerBase actualServer | |
| bindFuture | back to summary |
|---|---|
| private Future<Channel> bindFuture | |
| channelBalancer | back to summary |
|---|---|
| private ServerChannelLoadBalancer channelBalancer | |
| childHandler | back to summary |
|---|---|
| private BiConsumer<Channel, SslChannelProvider> childHandler | |
| creatingContext | back to summary |
|---|---|
| protected final Context creatingContext | |
| eventLoop | back to summary |
|---|---|
| private EventLoop eventLoop | |
| listenContext | back to summary |
|---|---|
| private ContextInternal listenContext | |
| listening | back to summary |
|---|---|
| private volatile boolean listening | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| metrics | back to summary |
|---|---|
| private TCPMetrics<?> metrics | |
| options | back to summary |
|---|---|
| protected final NetServerOptions options | |
| servers | back to summary |
|---|---|
| private Set<TCPServerBase> servers | |
| sslChannelProvider | back to summary |
|---|---|
| private volatile Future<SslContextUpdate> sslChannelProvider | |
| sslHelper | back to summary |
|---|---|
| private SSLHelper sslHelper | |
| trafficShapingHandler | back to summary |
|---|---|
| private GlobalTrafficShapingHandler trafficShapingHandler | |
| vertx | back to summary |
|---|---|
| protected final VertxInternal vertx | |
| worker | back to summary |
|---|---|
| private Handler<Channel> worker | |
| TCPServerBase | back to summary |
|---|---|
| public TCPServerBase(VertxInternal vertx, NetServerOptions options) | |
| actualClose | back to summary |
|---|---|
| private void actualClose(Promise<Void> done) | |
| actualPort | back to summary |
|---|---|
| public int actualPort() | |
| applyConnectionOptions | back to summary |
|---|---|
| private void applyConnectionOptions(boolean domainSocket, ServerBootstrap bootstrap) Apply the connection option to the server.
| |
| bind | back to summary |
|---|---|
| public Future | |
| childHandler | back to summary |
|---|---|
| protected abstract BiConsumer | |
| close | back to summary |
|---|---|
| public synchronized void close(Promise<Void> completion) Implements io. Doc from io. Close this resource, the | |
| close | back to summary |
|---|---|
| public abstract Future | |
| createMetrics | back to summary |
|---|---|
| protected TCPMetrics | |
| createSSLHelper | back to summary |
|---|---|
| protected SSLHelper createSSLHelper() | |
| createTrafficShapingHandler | back to summary |
|---|---|
| protected GlobalTrafficShapingHandler createTrafficShapingHandler() | |
| createTrafficShapingHandler | back to summary |
|---|---|
| private GlobalTrafficShapingHandler createTrafficShapingHandler(EventLoopGroup eventLoopGroup, TrafficShapingOptions options) | |
| getMetrics | back to summary |
|---|---|
| public synchronized TCPMetrics Implements io. Doc from io. Returns the metrics implementation.
| |
| isListening | back to summary |
|---|---|
| public boolean isListening() | |
| isMetricsEnabled | back to summary |
|---|---|
| public boolean isMetricsEnabled() Overrides default io. Doc from io. Whether the metrics are enabled for this measured object
| |
| listen | back to summary |
|---|---|
| private synchronized Future | |
| sniEntrySize | back to summary |
|---|---|
| public int sniEntrySize() | |
| sslContextProvider | back to summary |
|---|---|
| public SslContextProvider sslContextProvider() | |
| updateSSLOptions | back to summary |
|---|---|
| public Future | |
| updateTrafficShapingOptions | back to summary |
|---|---|
| public void updateTrafficShapingOptions(TrafficShapingOptions options) | |