Package akka.stream.javadsl
Class Tcp.ServerBinding
- java.lang.Object
- 
- akka.stream.javadsl.Tcp.ServerBinding
 
- 
- Enclosing class:
- Tcp
 
 public static final class Tcp.ServerBinding extends java.lang.ObjectRepresents a prospective TCP server binding.Not indented for user construction 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.InetSocketAddresslocalAddress()The local address of the endpoint bound by the materialization of theconnectionsSource.java.util.concurrent.CompletionStage<scala.runtime.BoxedUnit>unbind()Asynchronously triggers the unbinding of the port that was bound by the materialization of theconnectionsSource.java.util.concurrent.CompletionStage<Done>whenUnbound()
 
- 
- 
- 
Method Detail- 
localAddresspublic java.net.InetSocketAddress localAddress() The local address of the endpoint bound by the materialization of theconnectionsSource.
 - 
unbindpublic java.util.concurrent.CompletionStage<scala.runtime.BoxedUnit> unbind() Asynchronously triggers the unbinding of the port that was bound by the materialization of theconnectionsSource.The produced CompletionStageis fulfilled when the unbinding has been completed.
 - 
whenUnboundpublic java.util.concurrent.CompletionStage<Done> whenUnbound() - Returns:
- A completion operator that is completed when manually unbound, or failed if the server fails
 
 
- 
 
-