Interface ConnectionConfiguration
-
public interface ConnectionConfiguration
Configuration for a switch connection.- Author:
- mirehak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InetAddress
getAddress()
Returns address to bind.int
getChannelOutboundQueueSize()
Returns the queue size.int
getPort()
Returns the port to bind.Object
getSslContext()
Returns the SSL context.long
getSwitchIdleTimeout()
Returns the swicth idle timeout.ThreadConfiguration
getThreadConfiguration()
Returns the thread configuration.TlsConfiguration
getTlsConfiguration()
Returns the TLS configuration.Object
getTransferProtocol()
Returns the transport protocol to use.boolean
isGroupAddModEnabled()
Checks if group add mod messages are enabled.boolean
useBarrier()
Determines if a barrier shoild be used.
-
-
-
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
-
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
-
-