def __str__(self): return "Frame(%s, len(payload)=%d)" % \ (MessageType.key_of(self.msg_type), len(self.payload))