class Murcure::Room::Entity

Overview

Stores clients list and provides read\write look to access\modify clients list.

Defined in:

murcure/room/entity.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : UInt32, parent_id : UInt32, name : String, clients : Array(Murcure::Client::Entity)) #

[View source]

Instance Method Detail

def add_client(client : Client::Entity) : Void #

[View source]
def clients(&) #

[View source]
def id : UInt32 #

[View source]
def name : String #

[View source]
def parent_id : UInt32 #

[View source]
def remove_client(client : Client::Entity) : Void #

[View source]