Exemple #1
0
    def __init__(self, file_dict):
        DAO.__init__(self, file_dict)

        #defaults/optional values
        if 'local_size' in file_dict:
            self.local_size = file_dict['local_size']
        else:
            self.local_size = 0

        #now parse the endpoints
        self.endpoints = []
        for ep in file_dict['endpoints']:
            self.endpoints.append(ReplicaEndpointDAO(ep))
Exemple #2
0
 def __init__(self):
     Base.__init__(self)
     DAO.__init__(self)
Exemple #3
0
 def __init__(self, endpoint_dict):
     DAO.__init__(self, endpoint_dict)