public class NettyInitializerRelpServer extends NettyInitializer
ChannelPipeline for a new channel.NettyInitializer.CompressionRatioreadSocketTimeoutAction, readSocketTimeoutMs, sslCtx, useNettyCompression| Constructor and Description |
|---|
NettyInitializerRelpServer(INettyReaderCallback<RELPFrame> receiver,
org.thales.punch.libraries.metrics.api.IMetricContext metricsContext,
io.netty.handler.ssl.SslContext sslCtx,
boolean zipped,
int maxPayloadLength,
long readSocketTimeoutMs)
Ctor
|
| Modifier and Type | Method and Description |
|---|---|
void |
initChannel(io.netty.channel.socket.SocketChannel ch) |
getAppRecvCounter, getAppSentCounter, getRawRecvCounter, getRawSentCounterchannelRegistered, exceptionCaught, handlerAdded, handlerRemovedpublic NettyInitializerRelpServer(INettyReaderCallback<RELPFrame> receiver, org.thales.punch.libraries.metrics.api.IMetricContext metricsContext, io.netty.handler.ssl.SslContext sslCtx, boolean zipped, int maxPayloadLength, long readSocketTimeoutMs)
receiver - the receivermetricsContext - the metric contextsslCtx - the ssl contextzipped - true if ippedmaxPayloadLength - the max accepted payload lengthreadSocketTimeoutMs - the read socket timeoutCopyright © 2023. All rights reserved.