'I\'ve connected to a publisher; I\'ll now send all my requests.'

def connected(self, publisher):

    log.msg('connected    to    publisher')
    publisher.broker.notifyOnDisconnect(self.booted)
    self.publisher = publisher
    self.waiting = 0
    for request in self.pending:
        self.render(request)
    self.pending = []
