Interface ConnectionConfiguration


  • public interface ConnectionConfiguration
    Configuration for a switch connection.
    Author:
    mirehak
    • Method Detail

      • getAddress

        InetAddress getAddress()
        Returns address to bind.
        Returns:
        address to bind, if null, all available interfaces will be used
      • getPort

        int getPort()
        Returns the port to bind.
        Returns:
        port to bind
      • getTransferProtocol

        Object getTransferProtocol()
        Returns the transport protocol to use.
        Returns:
        transport protocol to use
      • getTlsConfiguration

        TlsConfiguration getTlsConfiguration()
        Returns the TLS configuration.
        Returns:
        TLS configuration object
      • getSwitchIdleTimeout

        long getSwitchIdleTimeout()
        Returns the swicth idle timeout.
        Returns:
        silence time (in milliseconds) - after this time SwitchIdleEvent message is sent upstream
      • getSslContext

        Object getSslContext()
        Returns the SSL context.
        Returns:
        seed for SSLEngine
      • getThreadConfiguration

        ThreadConfiguration getThreadConfiguration()
        Returns the thread configuration.
        Returns:
        thread numbers for TcpHandler's eventloopGroups
      • useBarrier

        boolean useBarrier()
        Determines if a barrier shoild be used.
        Returns:
        boolean value for usability of Barrier
      • isGroupAddModEnabled

        boolean isGroupAddModEnabled()
        Checks if group add mod messages are enabled.
        Returns:
        true if group add mod messages are enabled
      • getChannelOutboundQueueSize

        int getChannelOutboundQueueSize()
        Returns the queue size.
        Returns:
        Configurable queue size