akka.io
Class Inet.SO$.ReuseAddress

java.lang.Object
  extended by akka.io.Inet.SO$.ReuseAddress
All Implemented Interfaces:
Inet.SocketOption, java.io.Serializable, scala.Equals, scala.Product
Enclosing class:
Inet.SO$

public class Inet.SO$.ReuseAddress
extends java.lang.Object
implements Inet.SocketOption, scala.Product, scala.Serializable

Inet.SocketOption to enable or disable SO_REUSEADDR

For more information see java.net.Socket.setReuseAddress

See Also:
Serialized Form

Constructor Summary
Inet.SO$.ReuseAddress(boolean on)
           
 
Method Summary
 void beforeConnect(java.net.Socket s)
          Action to be taken for this option before calling connect()
 void beforeDatagramBind(java.net.DatagramSocket s)
           
 void beforeServerSocketBind(java.net.ServerSocket s)
           
 boolean on()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.io.Inet.SocketOption
afterConnect
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

Inet.SO$.ReuseAddress

public Inet.SO$.ReuseAddress(boolean on)
Method Detail

on

public boolean on()

beforeServerSocketBind

public void beforeServerSocketBind(java.net.ServerSocket s)
Specified by:
beforeServerSocketBind in interface Inet.SocketOption

beforeDatagramBind

public void beforeDatagramBind(java.net.DatagramSocket s)
Specified by:
beforeDatagramBind in interface Inet.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 interface Inet.SocketOption
Parameters:
s - (undocumented)