#include <TargetCallbackReceiver.h>
Public Member Functions | |
| RpmRemovePackageReceiver (Resolvable::constPtr res) | |
| RpmRemovePackageReceiver. | |
| virtual | ~RpmRemovePackageReceiver () |
| virtual void | reportbegin () |
| virtual void | reportend () |
| virtual void | start (const std::string &name) |
| Start the operation. | |
| virtual bool | progress (unsigned percent) |
| Inform about progress Return true on abort. | |
| virtual rpm::RpmRemoveReport::Action | problem (Exception &excpt_r) |
| inform user about a problem | |
| virtual void | finish () |
| Finish operation in case of success. | |
| virtual void | finish (Exception &excpt_r) |
| Finish operatin in case of fail, report fail exception. | |
Private Attributes | |
| callback::SendReport < rpm::RemoveResolvableReport > | _report |
| Resolvable::constPtr | _resolvable |
Definition at line 65 of file TargetCallbackReceiver.h.
| zypp::target::RpmRemovePackageReceiver::RpmRemovePackageReceiver | ( | Resolvable::constPtr | res | ) |
| zypp::target::RpmRemovePackageReceiver::~RpmRemovePackageReceiver | ( | ) | [virtual] |
Definition at line 111 of file TargetCallbackReceiver.cc.
| void zypp::target::RpmRemovePackageReceiver::reportbegin | ( | ) | [virtual] |
Reimplemented from zypp::callback::ReceiveReport< _Report >.
Definition at line 115 of file TargetCallbackReceiver.cc.
| void zypp::target::RpmRemovePackageReceiver::reportend | ( | ) | [virtual] |
Reimplemented from zypp::callback::ReceiveReport< _Report >.
Definition at line 119 of file TargetCallbackReceiver.cc.
| void zypp::target::RpmRemovePackageReceiver::start | ( | const std::string & | name | ) | [virtual] |
Start the operation.
Definition at line 124 of file TargetCallbackReceiver.cc.
References _report, and _resolvable.
| bool zypp::target::RpmRemovePackageReceiver::progress | ( | unsigned | percent | ) | [virtual] |
Inform about progress Return true on abort.
Definition at line 133 of file TargetCallbackReceiver.cc.
References _report, and _resolvable.
| rpm::RpmRemoveReport::Action zypp::target::RpmRemovePackageReceiver::problem | ( | Exception & | excpt_r | ) | [virtual] |
inform user about a problem
Definition at line 139 of file TargetCallbackReceiver.cc.
References _report, _resolvable, zypp::target::rpm::RpmRemoveReport::ABORT, zypp::target::rpm::RemoveResolvableReport::ABORT, zypp::Exception::asUserString(), zypp::target::rpm::RpmRemoveReport::IGNORE, zypp::target::rpm::RemoveResolvableReport::IGNORE, zypp::target::rpm::RemoveResolvableReport::INVALID, zypp::target::rpm::RpmRemoveReport::problem(), zypp::target::rpm::RpmRemoveReport::RETRY, and zypp::target::rpm::RemoveResolvableReport::RETRY.
| void zypp::target::RpmRemovePackageReceiver::finish | ( | ) | [virtual] |
Finish operation in case of success.
Definition at line 160 of file TargetCallbackReceiver.cc.
References _report, _resolvable, and zypp::target::rpm::RemoveResolvableReport::NO_ERROR.
| void zypp::target::RpmRemovePackageReceiver::finish | ( | Exception & | excpt_r | ) | [virtual] |
Finish operatin in case of fail, report fail exception.
Finish operation in case of success.
Definition at line 167 of file TargetCallbackReceiver.cc.
References _report, _resolvable, and zypp::target::rpm::RemoveResolvableReport::INVALID.
callback::SendReport<rpm::RemoveResolvableReport> zypp::target::RpmRemovePackageReceiver::_report [private] |
Definition at line 68 of file TargetCallbackReceiver.h.
Referenced by finish(), problem(), progress(), and start().
Definition at line 69 of file TargetCallbackReceiver.h.
Referenced by finish(), problem(), progress(), and start().
1.5.3