final class ServerBinding extends AnyRef
Represents a prospective TCP server binding.
Not indented for user construction
- Source
- Tcp.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServerBinding
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
localAddress: InetSocketAddress
The local address of the endpoint bound by the materialization of the
connections
Source. -
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.
-
def
whenUnbound(): CompletionStage[Done]
- returns
A completion operator that is completed when manually unbound, or failed if the server fails