Public feed
#892552
def deine_function(self,result):
if result is None:
print "Not Registered"
print "CALLBACKAUSGABE:",result
-------------------------------------------------------------------
print "--------CALLBACKTEST------"
myaction = device.services[0].get_action('GetRegistrationStatus')
test = myaction.call().addCallback(self.deine_function)
d = myaction.call()
d.addCallback(self.deine_function)
print d
print test
print "--------CALLBACKTEST------"
--------CALLBACKTEST------
<Deferred at 0x2eb99490>
<Deferred at 0x2eb92da0>
--------CALLBACKTEST------