case class NettyOptions[SA <: SocketAddress](socketAddress: SA, eventLoopConfig: EventLoopConfig, shutdownEventLoopGroupOnClose: Boolean, initPipeline: (ChannelPipeline, ChannelHandler) => Unit)
Netty configuration options. Default instances for TCP and domain sockets are available via the NettyOptions#default companion object and NettyOptions#defaultDomainSocket. Full customisation is available via NettyOptionsBuilder.
- Type parameters:
- SA
the type of socket being used; can be either InetSocketAddress for TCP sockets (the most common case), or DomainSocketAddress for unix domain sockets.
- Companion:
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Value members
Concrete methods
def domainSocketFile(file: File)(implicit saIsDomainSocketAddres: SA =:= DomainSocketAddress): NettyOptions[DomainSocketAddress]
def domainSocketPath(path: Path)(implicit saIsDomainSocketAddres: SA =:= DomainSocketAddress): NettyOptions[DomainSocketAddress]
def host(hostname: String)(implicit saIsInetSocketAddress: SA =:= InetSocketAddress): NettyOptions[InetSocketAddress]
def port(p: Int)(implicit saIsInetSocketAddress: SA =:= InetSocketAddress): NettyOptions[InetSocketAddress]
def randomPort(implicit saIsInetSocketAddress: SA =:= InetSocketAddress): NettyOptions[InetSocketAddress]