public abstract class NettyAbstractServer extends NettyAbstractEndpoint
| Modifier and Type | Field and Description |
|---|---|
protected io.netty.channel.EventLoopGroup |
bossGroup |
protected io.netty.handler.ssl.SslContext |
sslCtx |
protected boolean |
sslSessionResumption |
protected io.netty.channel.EventLoopGroup |
workerGroup |
bootstrap, host, maxPayloadLength, metricsContext, port, protocol, readSocketTimeoutAction, readSocketTimeoutMs, ssl, sslCiphers, sslProtocol, sslProvider, useNettyCompression| Constructor and Description |
|---|
NettyAbstractServer(org.thales.punch.settings.api.ISettingsMap settings,
org.thales.punch.libraries.metrics.api.IMetricContext metricsContext)
Ctor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isStopped() |
void |
start() |
void |
stop()
Stop the server, close all the socket.
|
getFileFromString, getSslProviderprotected io.netty.handler.ssl.SslContext sslCtx
protected boolean sslSessionResumption
protected io.netty.channel.EventLoopGroup bossGroup
protected io.netty.channel.EventLoopGroup workerGroup
public NettyAbstractServer(org.thales.punch.settings.api.ISettingsMap settings,
org.thales.punch.libraries.metrics.api.IMetricContext metricsContext)
settings - the socket server settingsmetricsContext - the associated metric contextpublic void start()
public void stop()
public boolean isStopped()
Copyright © 2023. All rights reserved.