MessageListener renamed to IncomingMessageListener.
Now TcpConnectionHandler listen for IncomingMessageListener death.
Configure supervision strategy:
- top most TcpServer stops any actor that will fail,
- child actor TcpConnectionHandler escalates to parent,
- child actor IncomingMessageListener (child of TcpConnectionHandler) escalates to parent.
TcpServer now create names of spawned TcpConnectionHandler child actors using names generated by ActorNameGenerator.
ConnectionWasLost and ConnectionClosed now contains Option[Exception].
TcpConnectionHandler now supports inactivity timeout on incoming traffic.
TcpConnectionHandler now takes tcp actors (actor from Akka responsible for this socket) as constructor argument.
TcpConnectionHandler now does not have buffer: ByteString as field, it was moved to state data.
IncomingMessageListener reimplemented to be a FSM actor.