public static class Tcp.ServerBinding
extends java.lang.Object
Constructor and Description |
---|
ServerBinding(Tcp.ServerBinding delegate) |
Modifier and Type | Method and Description |
---|---|
java.net.InetSocketAddress |
localAddress()
The local address of the endpoint bound by the materialization of the
connections Source . |
java.util.concurrent.CompletionStage<scala.runtime.BoxedUnit> |
unbind()
Asynchronously triggers the unbinding of the port that was bound by the materialization of the
connections
Source . |
public ServerBinding(Tcp.ServerBinding delegate)
public java.net.InetSocketAddress localAddress()
connections
Source
.public java.util.concurrent.CompletionStage<scala.runtime.BoxedUnit> unbind()
connections
Source
.
The produced CompletionStage
is fulfilled when the unbinding has been completed.