Skip to content

UDPSocketActor[optional UDP: UDPBackend ref]

[Source]

The actor trait a UDP socket actor implements. Provide _socket() returning the UDPSocket the actor owns; the behaviors here deliver ASIO events and resumed reads to it. Implement this together with UDPLifecycleEventReceiver for the socket callbacks.

trait tag UDPSocketActor[optional UDP: UDPBackend ref] is
  AsioEventNotify tag

Implements


Public Behaviours

dispose

[Source]

Close the socket.

be dispose()