Class ReadOnlyTcpServerConfig


  • public final class ReadOnlyTcpServerConfig
    extends java.lang.Object
    Read only view of TcpServerConfig.
    • Method Detail

      • sslContext

        @Nullable
        public io.netty.handler.ssl.SslContext sslContext()
        Returns the SslContext.
        Returns:
        SslContext, null if none specified
      • domainNameMapping

        @Nullable
        public io.netty.util.DomainNameMapping<io.netty.handler.ssl.SslContext> domainNameMapping()
        Gets DomainNameMapping, if any.
        Returns:
        Configured mapping, null if none configured
      • backlog

        public int backlog()
        Returns the maximum queue length for incoming connection indications (a request to connect).
        Returns:
        backlog
      • options

        public final java.util.Map<io.netty.channel.ChannelOption,​java.lang.Object> options()
        Returns the ChannelOptions for all channels.
        Returns:
        Unmodifiable map of options
      • idleTimeoutMs

        @Nullable
        public final java.lang.Long idleTimeoutMs()
        Returns the idle timeout as expressed via option ServiceTalkSocketOptions.IDLE_TIMEOUT.
        Returns:
        idle timeout in milliseconds