class MaActor: def __init__(self, id): self._id = id def _mqttOnConnect(self, client, userdata, flags, rc): client.subscribe("mlmAccess/pair/request/actor")