Class Inet.SO$.TrafficClass

  extended by akka.io.Inet.SO$.TrafficClass
All Implemented Interfaces:
Inet.SocketOption, java.io.Serializable, scala.Equals, scala.Product
Enclosing class:

public class Inet.SO$.TrafficClass
extends java.lang.Object
implements Inet.SocketOption, scala.Product, scala.Serializable

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

See Also:
Serialized Form

Constructor Summary
Inet.SO$.TrafficClass(int tc)
Method Summary
 void afterConnect(java.net.Socket s)
          Action to be taken for this option after connect returned (i.e.
 int tc()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface akka.io.Inet.SocketOption
beforeConnect, beforeDatagramBind, beforeServerSocketBind
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
Methods inherited from interface scala.Equals
canEqual, equals

Constructor Detail


public Inet.SO$.TrafficClass(int tc)
Method Detail


public int tc()


public void afterConnect(java.net.Socket s)
Description copied from interface: Inet.SocketOption
Action to be taken for this option after connect returned (i.e. on the slave socket for servers).

Specified by:
afterConnect in interface Inet.SocketOption
s - (undocumented)