ServerBinding

org.apache.pekko.stream.scaladsl.Tcp.ServerBinding
final case class ServerBinding

Represents a successful TCP server binding.

Not indented for user construction

Value parameters

localAddress

The address the server was bound to

unbindAction

a function that will trigger unbind of the server

whenUnbound

A future that is completed when the server is unbound, or failed if the server binding fails

Attributes

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

Members list

Value members

Concrete methods

def unbind(): Future[Unit]

Attributes

Source
Tcp.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

Attributes

Source
Tcp.scala