Пример #1
0
class Group:
    def __init__(self):
        self.messages = CircularList()
        self.client = ClientHistory()

    def add_client(self, client_id):
        self.client.register(client_id)
        self.client.update(client_id, self.messages.get_current_position())
Пример #2
0
 def __init__(self):
     self.messages = CircularList()
     self.client = ClientHistory()