SocketProtocolFamily

cc.otavia.core.channel.socket.SocketProtocolFamily
See theSocketProtocolFamily companion trait

Attributes

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

Members list

Type members

Classlikes

object INET extends SocketProtocolFamily

IPv4

IPv4

Attributes

Supertypes
trait ProtocolFamily
class Object
trait Matchable
class Any
Self type
INET.type
object INET6 extends SocketProtocolFamily

IPv6

IPv6

Attributes

Supertypes
trait ProtocolFamily
class Object
trait Matchable
class Any
Self type
INET6.type
object UNIX extends SocketProtocolFamily

Unix Domain Socket

Unix Domain Socket

Attributes

Supertypes
trait ProtocolFamily
class Object
trait Matchable
class Any
Self type
UNIX.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def of(family: ProtocolFamily): SocketProtocolFamily

Return the SocketProtocolFamily for the given ProtocolFamily if possible.

Return the SocketProtocolFamily for the given ProtocolFamily if possible.

Value parameters

family

the JDK ProtocolFamily to convert.

Attributes

Returns

the SocketProtocolFamily.

Throws
UnsupportedOperationException

if it can't be converted.