Package org.apache.pekko.io
Class Inet.SO$.TrafficClass
java.lang.Object
org.apache.pekko.io.Inet.SO$.TrafficClass
- All Implemented Interfaces:
Serializable,Inet.SocketOption,scala.Equals,scala.Product
- Enclosing class:
- Inet.SO$
public final class Inet.SO$.TrafficClass
extends Object
implements Inet.SocketOption, scala.Product, Serializable
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 Socket.setTrafficClass(int)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAction to be taken for this option after connect returned.static org.apache.pekko.io.Inet.SO.TrafficClassapply(int tc) booleanorg.apache.pekko.io.Inet.SO.TrafficClasscopy(int tc) intbooleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>inttc()toString()static scala.Option<Object>unapply(org.apache.pekko.io.Inet.SO.TrafficClass x$0) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.pekko.io.Inet.SocketOption
beforeConnect, beforeDatagramBind, beforeServerSocketBindMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
TrafficClass
public TrafficClass(int tc)
-
-
Method Details
-
apply
public static org.apache.pekko.io.Inet.SO.TrafficClass apply(int tc) -
unapply
-
tc
public int tc() -
afterConnect
Description copied from interface:Inet.SocketOptionAction to be taken for this option after connect returned.- Specified by:
afterConnectin interfaceInet.SocketOption
-
copy
public org.apache.pekko.io.Inet.SO.TrafficClass copy(int tc) -
copy$default$1
public int copy$default$1() -
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-