TrafficClass

org.apache.pekko.io.Inet.SO.TrafficClass
final case class TrafficClass(tc: Int) extends SocketOption

pekko.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

Attributes

Source
Inet.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SocketOption
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override 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.

Attributes

Definition Classes
Source
Inet.scala

Inherited methods

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()

Attributes

Inherited from:
SocketOption
Source
Inet.scala
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

Attributes

Inherited from:
SocketOption
Source
Inet.scala
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

Attributes

Inherited from:
SocketOption
Source
Inet.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product