Lay out new client structure
This commit is contained in:
parent
6c4bfe2752
commit
7da4bf36d5
21 changed files with 174 additions and 1137 deletions
14
cheuph/message_supply.py
Normal file
14
cheuph/message_supply.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
__all__ = ["MessageSupply"]
|
||||
|
||||
class MessageSupply:
|
||||
"""
|
||||
A MessageSupply holds all of a room's known messages. It can be queried in
|
||||
different ways. Messages can also be added to or removed from the MessageSupply
|
||||
as they are received by the client.
|
||||
|
||||
The MessageSupply may use a database or keep messages in memory. A
|
||||
MessageSupply may also wrap around another MessageSupply, to provide caching or
|
||||
similar.
|
||||
"""
|
||||
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue