Example #1
0
    def create(self, callback=None, connectionType=None, vhost=None):
        from client.client import Client

        client = Client(self.room)
        client.callback = callback
        client.type = connectionType
        if vhost:
            client.vhost = vhost
        self.clientList[client.unique_key] = client
        return client.unique_key