Packages

c

akka.io.Inet.SO

TrafficClass

final case class TrafficClass(tc: Int) extends SocketOption with Product with Serializable

akka.io.Inet.SocketOption to set the traffic class or type-of-service octet in the IP header for packets sent from this socket.

For more information see java.net.Socket#setTrafficClass

Source
Inet.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TrafficClass
  2. Serializable
  3. Product
  4. Equals
  5. SocketOption
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TrafficClass(tc: Int)

Value Members

  1. def afterConnect(s: Socket): Unit

    Action to be taken for this option after connect returned.

    Action to be taken for this option after connect returned.

    Definition Classes
    TrafficClassSocketOption
  2. def beforeConnect(s: Socket): Unit

    Action to be taken for this option before calling connect()

    Action to be taken for this option before calling connect()

    Definition Classes
    SocketOption
  3. def beforeDatagramBind(ds: DatagramSocket): Unit

    Action to be taken for this option before bind() is called

    Action to be taken for this option before bind() is called

    Definition Classes
    SocketOption
  4. def beforeServerSocketBind(ss: ServerSocket): Unit

    Action to be taken for this option before bind() is called

    Action to be taken for this option before bind() is called

    Definition Classes
    SocketOption
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. val tc: Int