'Return an iterator over all of the sub-messages of this message.'

def _getParts(self):

    i = 0
    while True:
        try:
            part = self.message.getSubPart(i)
        except IndexError:
            break
        else:
            (yield part)
            i += 1
