def deliver_msg(self, start):
        Log.debug("deliver msg to %s" % unicode(self.authJID))
        msgbox = MsgBox.MsgBox(self._userid)
        msg_count = msgbox.GetMsgCount(all = False)
        my_pid = os.getpid()
        for i in range(start, msg_count):
            msghead = msgbox.LoadMsgHead(i, all = False)
            if msghead.topid == my_pid:
                msgtext = msgbox.LoadMsgText(msghead)
                self.recv_msg(self.make_jid(msghead.id), msgtext)
dataset/ETHPy150Open HenryHu/pybbs/xmppserver.py/XMPPServer.deliver_msg/original