from boinc_components.boinc_project import BoincProject
from boinc_components.boinc_project_gui_url import BoincProjectGuiUrl
from boinc_components.boinc_application import BoincApplication
from boinc_components.boinc_application_version import BoincApplicationVersion
from boinc_components.boinc_workunit import BoincWorkunit
from boinc_components.boinc_task import BoincTask
from boinc_components.boinc_time_stats import BoincTimeStats

class BoincHost:
    def __init__(self, address, password, projects=None, applications=None, application_versions=None, workunits=None, tasks=None, time_stats=None):
        self.address = address                              # string
        self.password = password                            # string
        self.projects = projects                            # list of BoincProject
        self.applications = applications                    # list of BoincApplication
        self.application_versions = application_versions    # list of BoincApplicationVersion
        self.workunits = workunits                          # list of BoincWorkunit
        self.tasks = tasks                                  # list of BoincTask
        self.time_stats = time_stats                        # TimeStats