Package akka.io
Class Udp.SO$.Broadcast
- java.lang.Object
-
- akka.io.Udp.SO$.Broadcast
-
- All Implemented Interfaces:
Inet.SocketOption
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- Udp.SO$
public final class Udp.SO$.Broadcast extends java.lang.Object implements Inet.SocketOption, scala.Product, java.io.Serializable
Inet.SocketOption
to set the SO_BROADCAST optionFor more information see
DatagramSocket.setBroadcast(boolean)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Broadcast(boolean on)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static akka.io.Udp.SO.Broadcast
apply(boolean on)
void
beforeDatagramBind(java.net.DatagramSocket s)
Action to be taken for this option before bind() is calledboolean
canEqual(java.lang.Object x$1)
akka.io.Udp.SO.Broadcast
copy(boolean on)
boolean
copy$default$1()
boolean
equals(java.lang.Object x$1)
int
hashCode()
boolean
on()
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()
java.lang.String
toString()
static scala.Option<java.lang.Object>
unapply(akka.io.Udp.SO.Broadcast 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
afterConnect, beforeConnect, beforeServerSocketBind
-
-
-
-
Method Detail
-
apply
public static akka.io.Udp.SO.Broadcast apply(boolean on)
-
unapply
public static scala.Option<java.lang.Object> unapply(akka.io.Udp.SO.Broadcast x$0)
-
on
public boolean on()
-
beforeDatagramBind
public void beforeDatagramBind(java.net.DatagramSocket s)
Description copied from interface:Inet.SocketOption
Action to be taken for this option before bind() is called- Specified by:
beforeDatagramBind
in interfaceInet.SocketOption
-
copy
public akka.io.Udp.SO.Broadcast copy(boolean on)
-
copy$default$1
public boolean 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
-
-