def subscribe(self, topic, callback_object, callback):
    '\n        Subscribe on topic\n\n        :param str topic: Topic for subscription\n        :param method callback: Callback for received message\n        '
    logging.info('Subscribing for {0}'.format(topic))
    if (not callable(callback)):
        raise exceptions.UtimUncallableCallbackError
    self.__callback = callback
    self.__callback_object = callback_object
    self.__connection.subscribe(topic, self, ConnManagerMQTT._on_message)
Subscribe on topic

:param str topic: Topic for subscription
:param method callback: Callback for received message
def subscribe(self, topic, callback_object, callback):
    '\n        Subscribe on topic\n\n        :param str topic: Topic for subscription\n        :param method callback: Callback for received message\n        '
    logging.info('Subscribing for {0}'.format(topic))
    if (not callable(callback)):
        raise exceptions.UtimUncallableCallbackError
    self.__callback = callback
    self.__callback_object = callback_object
    self.__connection.subscribe(topic, self, ConnManagerMQTT._on_message)