class Murcure::Actors::Client
- Murcure::Actors::Client
- Reference
- Object
Overview
Actor responsible for handling new clients.
Included Modules
- Earl::Agent
Defined in:
murcure/actors/client.crConstructors
Instance Method Summary
- #auth_step!
-
#call
The logic of the
Agent
. - #handle(msg : Murcure::Protos::Version)
- #handle(msg : Murcure::Protos::Authenticate)
- #handle(message : Murcure::Protos::Ping)
- #handle(message : Murcure::Protos::PermissionQuery)
- #handle(message : Murcure::Protos::TextMessage)
- #handle(message : Protobuf::Message)
- #main_loop!
- #notify_user_state
- #send_channels_state
- #send_server_sync
- #send_users_state
- #set_default_params!
- #sync_step!
Constructor Detail
Instance Method Detail
def call
#
Description copied from module Earl::Agent
The logic of the Agent
. May loop forever or until asked to stopped. If
an exception is raised the agent will be crashed; if the method returns
the agent will simply stop.