def register_callback_duplicate(self, func, serialised=True):
        """Register a callback function to receive QAPI Unsolicited (resource) DUPLICATE. The
        callback receives a single argument - the inner message. If `serialised` is not set,
        the callbacks might arrive out-of-order.
        """
        self.__add_callback(_CB_DUPLICATE, func, serialised_if_crud=serialised)
def register_callback_duplicate ( self , func , serialised = True ) : self . __add_callback ( _CB_DUPLICATE , func , serialised_if_crud = serialised )
Register a callback function to receive QAPI Unsolicited (resource) DUPLICATE. The
        callback receives a single argument - the inner message. If `serialised` is not set,
        the callbacks might arrive out-of-order.