Package akka.io
Class Inet.SO$.ReuseAddress
- java.lang.Object
-
- akka.io.Inet.SO$.ReuseAddress
-
- All Implemented Interfaces:
Inet.SocketOption
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- Inet.SO$
public final class Inet.SO$.ReuseAddress extends java.lang.Object implements Inet.SocketOption, scala.Product, java.io.Serializable
Inet.SocketOption
to enable or disable SO_REUSEADDRFor more information see
Socket.setReuseAddress(boolean)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReuseAddress(boolean on)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static akka.io.Inet.SO.ReuseAddress
apply(boolean on)
void
beforeConnect(java.net.Socket s)
Action to be taken for this option before calling connect()void
beforeDatagramBind(java.net.DatagramSocket s)
Action to be taken for this option before bind() is calledvoid
beforeServerSocketBind(java.net.ServerSocket s)
Action to be taken for this option before bind() is calledboolean
canEqual(java.lang.Object x$1)
akka.io.Inet.SO.ReuseAddress
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.Inet.SO.ReuseAddress 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
-
-
-
-
Method Detail
-
apply
public static akka.io.Inet.SO.ReuseAddress apply(boolean on)
-
unapply
public static scala.Option<java.lang.Object> unapply(akka.io.Inet.SO.ReuseAddress x$0)
-
on
public boolean on()
-
beforeServerSocketBind
public void beforeServerSocketBind(java.net.ServerSocket s)
Description copied from interface:Inet.SocketOption
Action to be taken for this option before bind() is called- Specified by:
beforeServerSocketBind
in interfaceInet.SocketOption
-
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
-
beforeConnect
public void beforeConnect(java.net.Socket s)
Description copied from interface:Inet.SocketOption
Action to be taken for this option before calling connect()- Specified by:
beforeConnect
in interfaceInet.SocketOption
-
copy
public akka.io.Inet.SO.ReuseAddress 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
-
-