Packages

c

akka.stream.javadsl.Tcp

ServerBinding

final class ServerBinding extends AnyRef

Represents a prospective TCP server binding.

Not indented for user construction

Source
Tcp.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerBinding
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def localAddress: InetSocketAddress

    The local address of the endpoint bound by the materialization of the connections Source.

  2. def unbind(): CompletionStage[Unit]

    Asynchronously triggers the unbinding of the port that was bound by the materialization of the connections Source.

    Asynchronously triggers the unbinding of the port that was bound by the materialization of the connections Source.

    The produced java.util.concurrent.CompletionStage is fulfilled when the unbinding has been completed.

  3. def whenUnbound(): CompletionStage[Done]

    returns

    A completion operator that is completed when manually unbound, or failed if the server fails