Can someone explain how to properly close incoming and outgoing Tcp
connections that are created with Tcp.get(system).bind("127.0.0.1", 8888);
and Tcp.get(system).outgoingConnection("127.0.0.1", 8888); ?
The documentation states "Closing connections is possible by cancelling the
incoming connection Flow from your server logic (e.g. by connecting its
downstream to a Sink.cancelled() and its upstream to a Source.empty()). It
is also possible to shut down the server’s socket by cancelling the
IncomingConnection source connections." for incoming connections, but I am
not able to translate that into (Java) code. I could not find any
documentation on how to properly close outgoing connections.
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.