Package org.apache.pekko.io
Class Inet.SO$.ReuseAddress
java.lang.Object
org.apache.pekko.io.Inet.SO$.ReuseAddress
- All Implemented Interfaces:
Serializable,Inet.SocketOption,scala.Equals,scala.Product
- Enclosing class:
- Inet.SO$
public final class Inet.SO$.ReuseAddress
extends Object
implements Inet.SocketOption, scala.Product, Serializable
pekko.io.Inet.SocketOption to enable or disable SO_REUSEADDR
For more information see Socket.setReuseAddress(boolean)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.pekko.io.Inet.SO.ReuseAddressapply(boolean on) voidAction to be taken for this option before calling connect()voidAction to be taken for this option before bind() is calledvoidAction to be taken for this option before bind() is calledbooleanorg.apache.pekko.io.Inet.SO.ReuseAddresscopy(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.Inet.SO.ReuseAddress 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
afterConnectMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
ReuseAddress
public ReuseAddress(boolean on)
-
-
Method Details
-
apply
public static org.apache.pekko.io.Inet.SO.ReuseAddress apply(boolean on) -
unapply
-
on
public boolean on() -
beforeServerSocketBind
Description copied from interface:Inet.SocketOptionAction to be taken for this option before bind() is called- Specified by:
beforeServerSocketBindin interfaceInet.SocketOption
-
beforeDatagramBind
Description copied from interface:Inet.SocketOptionAction to be taken for this option before bind() is called- Specified by:
beforeDatagramBindin interfaceInet.SocketOption
-
beforeConnect
Description copied from interface:Inet.SocketOptionAction to be taken for this option before calling connect()- Specified by:
beforeConnectin interfaceInet.SocketOption
-
copy
public org.apache.pekko.io.Inet.SO.ReuseAddress 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
-