|
OpenSDN source code
|
#include <libvirt_instance_adapter.h>


Public Member Functions | |
| DomainStopTask (LibvirtInstanceAdapter *parent_adapter, const ServiceInstance::Properties &props) | |
| bool | Run () |
| void | Stop () |
| void | Terminate () |
| bool | IsSetup () |
| const std::string & | cmd () const |
| int | cmd_type () const |
Public Member Functions inherited from InstanceTaskMethod | |
| pid_t | pid () const |
Public Member Functions inherited from InstanceTask | |
| InstanceTask () | |
| virtual | ~InstanceTask () |
| bool | is_running () const |
| time_t | start_time () const |
| void | set_on_data_cb (OnDataCallback cb) |
| void | set_on_exit_cb (OnExitCallback cb) |
| int | incr_reattempts () |
| int | reattempts () |
Private Attributes | |
| LibvirtInstanceAdapter * | parent_adapter_ |
| const ServiceInstance::Properties & | si_properties_ |
Additional Inherited Members | |
Public Types inherited from InstanceTask | |
| typedef boost::function< void(InstanceTask *task, const std::string &msg)> | OnDataCallback |
| typedef boost::function< void(InstanceTask *task, const boost::system::error_code &ec)> | OnExitCallback |
Protected Attributes inherited from InstanceTask | |
| bool | is_running_ |
| time_t | start_time_ |
| int | reattempts_ |
| OnDataCallback | on_data_cb_ |
| OnExitCallback | on_exit_cb_ |
Definition at line 72 of file libvirt_instance_adapter.h.
|
inline |
Definition at line 74 of file libvirt_instance_adapter.h.
|
inlinevirtual |
Implements InstanceTask.
Definition at line 83 of file libvirt_instance_adapter.h.
|
inlinevirtual |
Implements InstanceTask.
Definition at line 89 of file libvirt_instance_adapter.h.
|
inlinevirtual |
Implements InstanceTask.
Definition at line 81 of file libvirt_instance_adapter.h.
|
virtual |
Implements InstanceTask.
Definition at line 186 of file libvirt_instance_adapter.cc.
|
inlinevirtual |
Implements InstanceTask.
Definition at line 79 of file libvirt_instance_adapter.h.
|
inlinevirtual |
Implements InstanceTask.
Definition at line 80 of file libvirt_instance_adapter.h.
|
private |
Definition at line 94 of file libvirt_instance_adapter.h.
|
private |
Definition at line 95 of file libvirt_instance_adapter.h.