예제 #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))
예제 #2
0
 def __init__(self):
     Base.__init__(self)
     DAO.__init__(self)
예제 #3
0
 def __init__(self, endpoint_dict):
     DAO.__init__(self, endpoint_dict)