Skip to content

TCPConnectionActor[optional TCP: TCPBackend ref]

[Source]

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] is
  AsioEventNotify tag

Implements


Public Behaviours

dispose

[Source]

Close connection

be dispose()