class Murcure::Actors::Client

Overview

Actor responsible for handling new clients.

Included Modules

Defined in:

murcure/actors/client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(server : Server::State, client : Murcure::Client::Entity) #

[View source]

Instance Method Detail

def auth_step! #

[View source]
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.


[View source]
def handle(msg : Murcure::Protos::Version) #

[View source]
def handle(msg : Murcure::Protos::Authenticate) #

[View source]
def handle(message : Murcure::Protos::Ping) #

[View source]
def handle(message : Murcure::Protos::PermissionQuery) #

[View source]
def handle(message : Murcure::Protos::TextMessage) #

[View source]
def handle(message : Protobuf::Message) #

[View source]
def main_loop! #

[View source]
def notify_user_state #

[View source]
def send_channels_state #

[View source]
def send_server_sync #

[View source]
def send_users_state #

[View source]
def set_default_params! #

[View source]
def sync_step! #

[View source]