Package org.apache.pekko.io
Class Udp.SO$.Broadcast
java.lang.Object
org.apache.pekko.io.Udp.SO$.Broadcast
- All Implemented Interfaces:
Serializable,Inet.SocketOption,scala.Equals,scala.Product
- Enclosing class:
- Udp.SO$
public final class Udp.SO$.Broadcast
extends Object
implements Inet.SocketOption, scala.Product, Serializable
pekko.io.Inet.SocketOption to set the SO_BROADCAST option
For more information see DatagramSocket.setBroadcast(boolean)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.pekko.io.Udp.SO.Broadcastapply(boolean on) voidAction to be taken for this option before bind() is calledbooleanorg.apache.pekko.io.Udp.SO.Broadcastcopy(boolean on) booleanbooleaninthashCode()booleanon()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()static scala.Option<Object>unapply(org.apache.pekko.io.Udp.SO.Broadcast 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
afterConnect, beforeConnect, beforeServerSocketBindMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
Broadcast
public Broadcast(boolean on)
-
-
Method Details
-
apply
public static org.apache.pekko.io.Udp.SO.Broadcast apply(boolean on) -
unapply
-
on
public boolean on() -
beforeDatagramBind
Description copied from interface:Inet.SocketOptionAction to be taken for this option before bind() is called- Specified by:
beforeDatagramBindin interfaceInet.SocketOption
-
copy
public org.apache.pekko.io.Udp.SO.Broadcast copy(boolean on) -
copy$default$1
public boolean 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
-