Package akka.io
Class Inet.SO$.TrafficClass
- java.lang.Object
-
- akka.io.Inet.SO$.TrafficClass
-
- All Implemented Interfaces:
Inet.SocketOption
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- Inet.SO$
public final class Inet.SO$.TrafficClass extends java.lang.Object implements Inet.SocketOption, scala.Product, java.io.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
Socket.setTrafficClass(int)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TrafficClass(int tc)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterConnect(java.net.Socket s)
Action to be taken for this option after connect returned.static akka.io.Inet.SO.TrafficClass
apply(int tc)
boolean
canEqual(java.lang.Object x$1)
akka.io.Inet.SO.TrafficClass
copy(int tc)
int
copy$default$1()
boolean
equals(java.lang.Object x$1)
int
hashCode()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
int
tc()
java.lang.String
toString()
static scala.Option<java.lang.Object>
unapply(akka.io.Inet.SO.TrafficClass x$0)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface akka.io.Inet.SocketOption
beforeConnect, beforeDatagramBind, beforeServerSocketBind
-
-
-
-
Method Detail
-
apply
public static akka.io.Inet.SO.TrafficClass apply(int tc)
-
unapply
public static scala.Option<java.lang.Object> unapply(akka.io.Inet.SO.TrafficClass x$0)
-
tc
public int tc()
-
afterConnect
public void afterConnect(java.net.Socket s)
Description copied from interface:Inet.SocketOption
Action to be taken for this option after connect returned.- Specified by:
afterConnect
in interfaceInet.SocketOption
-
copy
public akka.io.Inet.SO.TrafficClass copy(int tc)
-
copy$default$1
public int copy$default$1()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-