ReusePort

org.apache.pekko.io.Inet.SO.ReusePort
final case class ReusePort(on: Boolean) extends SocketOption

pekko.io.Inet.SocketOption to enable or disable SO_REUSEPORT

For more information see java.net.StandardSocketOptions#SO_REUSEPORT

Attributes

Since

2.0.0

Source
Inet.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SocketOption
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def beforeConnect(s: Socket): Unit

Action to be taken for this option before calling connect()

Action to be taken for this option before calling connect()

Attributes

Definition Classes
Source
Inet.scala
override def beforeDatagramBind(s: DatagramSocket): Unit

Action to be taken for this option before bind() is called

Action to be taken for this option before bind() is called

Attributes

Definition Classes
Source
Inet.scala
override def beforeServerSocketBind(s: ServerSocket): Unit

Action to be taken for this option before bind() is called

Action to be taken for this option before bind() is called

Attributes

Definition Classes
Source
Inet.scala

Inherited methods

def afterConnect(s: Socket): Unit

Action to be taken for this option after connect returned.

Action to be taken for this option after connect returned.

Attributes

Inherited from:
SocketOption
Source
Inet.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product