OpenSDN source code
|
#include <health_check.h>
Protected Member Functions | |
void | EnqueueResync (const HealthCheckService *service, Interface *itf) const |
Protected Attributes | |
HealthCheckServiceRef | service_ |
InterfaceRef | intf_ |
boost::scoped_ptr< MetaDataIp > | ip_ |
bool | active_ |
std::string | last_update_time_ |
bool | deleted_ |
bool | ignore_status_event_ |
IpAddress | source_ip_ |
IpAddress | destination_ip_ |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (HealthCheckInstanceBase) | |
Friends | |
class | HealthCheckTable |
Definition at line 113 of file health_check.h.
HealthCheckInstanceBase::HealthCheckInstanceBase | ( | HealthCheckService * | service, |
MetaDataIpAllocator * | allocator, | ||
VmInterface * | intf, | ||
bool | ignore_status_event | ||
) |
|
virtual |
|
inline |
Definition at line 144 of file health_check.h.
|
pure virtual |
Implemented in HealthCheckInstanceService, and HealthCheckInstanceTask.
IpAddress HealthCheckInstanceBase::destination_ip | ( | ) | const |
Definition at line 152 of file health_check.cc.
|
pure virtual |
Implemented in HealthCheckInstanceService, and HealthCheckInstanceTask.
|
private |
void HealthCheckInstanceBase::EnqueueHealthCheckResync | ( | const HealthCheckService * | service, |
const VmInterface * | itf | ||
) | const |
|
protected |
|
inline |
Definition at line 152 of file health_check.h.
|
inline |
Definition at line 147 of file health_check.h.
|
inline |
Definition at line 148 of file health_check.h.
|
inlinevirtual |
Reimplemented in HealthCheckInstanceTask.
Definition at line 145 of file health_check.h.
|
inline |
Definition at line 150 of file health_check.h.
|
inline |
Definition at line 149 of file health_check.h.
void HealthCheckInstanceBase::OnExit | ( | const boost::system::error_code & | ec | ) |
Definition at line 115 of file health_check.cc.
void HealthCheckInstanceBase::OnRead | ( | const std::string & | data | ) |
Definition at line 107 of file health_check.cc.
|
virtual |
Reimplemented in HealthCheckMacIpInstanceService, and HealthCheckInstanceService.
Definition at line 77 of file health_check.cc.
|
pure virtual |
Implemented in HealthCheckInstanceService, and HealthCheckInstanceTask.
|
inline |
Definition at line 146 of file health_check.h.
void HealthCheckInstanceBase::set_destination_ip | ( | const IpAddress & | ip | ) |
void HealthCheckInstanceBase::set_service | ( | HealthCheckService * | service | ) |
|
inline |
void HealthCheckInstanceBase::SetService | ( | HealthCheckService * | service | ) |
IpAddress HealthCheckInstanceBase::source_ip | ( | ) | const |
Definition at line 146 of file health_check.cc.
|
pure virtual |
Implemented in HealthCheckInstanceService, and HealthCheckInstanceTask.
void HealthCheckInstanceBase::StopTask | ( | HealthCheckService * | service | ) |
std::string HealthCheckInstanceBase::to_string | ( | ) |
Definition at line 100 of file health_check.cc.
IpAddress HealthCheckInstanceBase::update_source_ip | ( | ) |
|
inlinevirtual |
Reimplemented in HealthCheckInstanceService.
Definition at line 130 of file health_check.h.
|
friend |
Definition at line 162 of file health_check.h.
|
protected |
Definition at line 171 of file health_check.h.
|
protected |
Definition at line 175 of file health_check.h.
|
protected |
Definition at line 182 of file health_check.h.
|
protected |
Definition at line 177 of file health_check.h.
|
protected |
Definition at line 167 of file health_check.h.
|
protected |
Definition at line 169 of file health_check.h.
|
protected |
Definition at line 173 of file health_check.h.
|
protected |
Definition at line 165 of file health_check.h.
|
protected |
Definition at line 180 of file health_check.h.