class Murcure::Client::Entity

Overview

Stores parameters of client and provides read\write look to access\modify is` params.

Included Modules

Defined in:

murcure/client/entity.cr

Constructors

Instance Method Summary

Instance methods inherited from module Murcure::Client::State

act_as_state_machine act_as_state_machine, auth_ended? auth_ended?, channels_sent? channels_sent?, has_auth? has_auth?, has_version? has_version?, sync_sent? sync_sent?, synchonized? synchonized?, users_sent? users_sent?

Constructor methods inherited from module Murcure::Client::State

new new

Constructor Detail

def self.new(ssl_socket : OpenSSL::SSL::Socket::Server) #

[View source]

Instance Method Detail

def activate #

[View source]
def add_auth(&) #

[View source]
def add_version(&) #

[View source]
def channel_id : UInt32 | Nil #

room


[View source]
def channel_id=(channel_id : UInt32 | Nil) #

room


[View source]
def connected? #

[View source]
def os : String | Nil #

[View source]
def os=(os : String | Nil) #

[View source]
def os_version : String | Nil #

[View source]
def os_version=(os_version : String | Nil) #

[View source]
def password : String | Nil #

[View source]
def password=(password : String | Nil) #

[View source]
def read(&) #

[View source]
def receive : Protobuf::Message | Nil #

[View source]
def release : String | Nil #

[View source]
def release=(release : String | Nil) #

[View source]
def send(msg : Protobuf::Message) #

[View source]
def session_id : UInt32 #

[View source]
def session_id=(session_id : UInt32) #

[View source]
def tokens : Array(String) | Nil #

[View source]
def tokens=(tokens : Array(String) | Nil) #

[View source]
def username : String | Nil #

creds


[View source]
def username=(username : String | Nil) #

creds


[View source]
def version : UInt32 | Nil #

versions


[View source]
def version=(version : UInt32 | Nil) #

versions


[View source]
def write(&) #

[View source]