def __init__(self, addr, port, uid=None, key=None): self.dpmclient = DPMClient(uid, key) self.addr = addr self.port = port