Other minor improvements
This commit is contained in:
parent
aa2596f088
commit
b5a813f766
4 changed files with 20 additions and 4 deletions
|
|
@ -119,6 +119,10 @@ class Tcp(system: ExtendedActorSystem) extends akka.actor.Extension {
|
|||
/**
|
||||
* Creates a [[Tcp.ServerBinding]] instance which represents a prospective TCP server binding on the given `endpoint`.
|
||||
*
|
||||
* Please note that the startup of the server is asynchronous, i.e. after materializing the enclosing
|
||||
* [[akka.stream.scaladsl.RunnableGraph]] the server is not immediately available. Only after the materialized future
|
||||
* completes is the server ready to accept client connections.
|
||||
*
|
||||
* @param interface The interface to listen on
|
||||
* @param port The port to listen on
|
||||
* @param backlog Controls the size of the connection backlog
|
||||
|
|
@ -147,6 +151,10 @@ class Tcp(system: ExtendedActorSystem) extends akka.actor.Extension {
|
|||
* Creates a [[Tcp.ServerBinding]] instance which represents a prospective TCP server binding on the given `endpoint`
|
||||
* handling the incoming connections using the provided Flow.
|
||||
*
|
||||
* Please note that the startup of the server is asynchronous, i.e. after materializing the enclosing
|
||||
* [[akka.stream.scaladsl.RunnableGraph]] the server is not immediately available. Only after the returned future
|
||||
* completes is the server ready to accept client connections.
|
||||
*
|
||||
* @param handler A Flow that represents the server logic
|
||||
* @param interface The interface to listen on
|
||||
* @param port The port to listen on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue