NioChannelOption

cc.otavia.core.transport.nio.channel.NioChannelOption
See theNioChannelOption companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def getOption[T](channel: NetworkChannel, option: SocketOption[T]): Option[T]
def isOptionSupported(channel: NetworkChannel, option: SocketOption[_]): Boolean
def of[T](option: SocketOption[T]): ChannelOption[T]

Returns a ChannelOption for the given SocketOption.

Returns a ChannelOption for the given SocketOption.

Attributes

def setOption[T](channel: NetworkChannel, option: SocketOption[T], value: T): Unit
def toSocketOption[T](option: ChannelOption[T]): SocketOption[T] | Null