TCPConnectionActor[optional TCP: TCPBackend ref, optional Asio: AsioBackend ref]¶
The actor trait a connection actor implements. Provide _connection()
returning the TCPConnection the actor owns; the behaviors here deliver ASIO
events, resumed reads, and failed-send notifications to it. Implement this
together with a ClientLifecycleEventReceiver or
ServerLifecycleEventReceiver for the connection callbacks.
trait tag TCPConnectionActor[optional TCP: TCPBackend ref, optional Asio: AsioBackend ref] is
AsioEventNotify tag
Implements¶
- AsioEventNotify tag
Public Behaviours¶
dispose¶
Close connection