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


Public Member Functions | |
| SecurityLoggingObject (const boost::uuids::uuid &uuid) | |
| virtual | ~SecurityLoggingObject () |
| KeyPtr | GetDBRequestKey () const |
| virtual void | SetKey (const DBRequestKey *key) |
| std::string | ToString () const |
| virtual bool | IsLess (const DBEntry &rhs) const |
| virtual bool | DBEntrySandesh (Sandesh *resp, std::string &name) const |
| virtual bool | Change (const DBRequest *req) |
| bool | IsEqual (const std::vector< autogen::SecurityLoggingObjectRuleEntryType > &lhs, const std::vector< autogen::SecurityLoggingObjectRuleEntryType > &rhs) const |
| uint32_t | GetRefCount () const |
| bool | status () const |
| const boost::uuids::uuid & | uuid () const |
| const std::vector< autogen::SecurityLoggingObjectRuleEntryType > & | rules () const |
| int | rate () const |
| const std::string & | name () const |
| SloRuleList & | firewall_policy_list () |
| SloRuleList & | firewall_rule_list () |
Public Member Functions inherited from AgentOperDBEntry | |
| AgentOperDBEntry () | |
| virtual | ~AgentOperDBEntry () |
| IFMapNode * | ifmap_node () const |
| void | SetIFMapNodeState (IFMapDependencyManager::IFMapNodePtr sref) |
Public Member Functions inherited from AgentDBEntry | |
| AgentDBEntry () | |
| virtual | ~AgentDBEntry () |
| void | SetRefState () const |
| void | ClearRefState () const |
| bool | IsActive () const |
| DBState * | GetAgentDBEntryState (int listener_id) |
| const DBState * | GetAgentDBEntryState (int listener_id) const |
| virtual void | AllocateResources (ResourceManager *resource_manager) |
| virtual void | FreeResources (ResourceManager *resource_manager) |
| virtual void | PostAdd () |
Public Member Functions inherited from DBEntry | |
| DBEntry () | |
| virtual | ~DBEntry () |
| bool | operator< (const DBEntry &rhs) const |
Public Member Functions inherited from DBEntryBase | |
| DBEntryBase () | |
| virtual | ~DBEntryBase () |
| virtual bool | IsMoreSpecific (const std::string &match) const |
| virtual bool | IsLessSpecific (const std::string &match) const |
| void | SetState (DBTableBase *tbl_base, ListenerId listener, DBState *state) |
| void | ClearState (DBTableBase *tbl_base, ListenerId listener) |
| DBState * | GetState (DBTableBase *tbl_base, ListenerId listener) const |
| const DBState * | GetState (const DBTableBase *tbl_base, ListenerId listener) const |
| bool | is_state_empty (DBTablePartBase *tpart) |
| bool | is_state_empty_unlocked (DBTablePartBase *tpart) |
| void | Delete () |
| void | MarkDelete () |
| void | ClearDelete () |
| bool | IsDeleted () const |
| void | set_onlist () |
| void | clear_onlist () |
| bool | is_onlist () |
| void | SetOnRemoveQ () |
| bool | IsOnRemoveQ () |
| void | ClearOnRemoveQ () |
| void | set_last_change_at (uint64_t time) |
| void | set_last_change_at_to_now () |
| const uint64_t | last_change_at () const |
| const std::string | last_change_at_str () const |
| void | set_last_update_at (uint64_t time) |
| void | set_last_update_at_to_now () |
| const uint64_t | last_update_at () const |
| DBTablePartBase * | get_table_partition () const |
| void | set_table_partition (DBTablePartBase *tpart) |
| DBTableBase * | get_table () const |
| void | Notify () |
Private Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (SecurityLoggingObject) | |
Private Member Functions inherited from AgentRefCount< SecurityLoggingObject > | |
| uint32_t | GetRefCount () const |
| AgentRefCount () | |
| AgentRefCount (const AgentRefCount &) | |
| AgentRefCount & | operator= (const AgentRefCount &) |
| virtual | ~AgentRefCount () |
| void | swap (AgentRefCount &) |
Private Attributes | |
| bool | status_ |
| boost::uuids::uuid | uuid_ |
| std::vector< autogen::SecurityLoggingObjectRuleEntryType > | rules_ |
| int | rate_ |
| std::string | name_ |
| SloRuleList | firewall_policy_list_ |
| SloRuleList | firewall_rule_list_ |
Private Attributes inherited from AgentRefCount< SecurityLoggingObject > | |
| tbb::mutex | back_ref_mutex_ |
| std::set< IntrusiveReferrer > | back_ref_set_ |
Additional Inherited Members | |
Public Types inherited from AgentDBEntry | |
| typedef boost::intrusive_ptr< AgentDBEntry > | AgentDBEntyRef |
Public Types inherited from DBEntryBase | |
| typedef DBTableBase::ListenerId | ListenerId |
| typedef std::unique_ptr< DBRequestKey > | KeyPtr |
Public Attributes inherited from DBEntryBase | |
| boost::intrusive::list_member_hook | chg_list_ |
Definition at line 60 of file security_logging_object.h.
| SecurityLoggingObject::SecurityLoggingObject | ( | const boost::uuids::uuid & | uuid | ) |
Definition at line 16 of file security_logging_object.cc.
|
virtual |
Definition at line 20 of file security_logging_object.cc.
|
virtual |
Definition at line 121 of file security_logging_object.cc.

|
virtual |
Implements AgentDBEntry.
Definition at line 41 of file security_logging_object.cc.
|
private |
|
inline |
Definition at line 95 of file security_logging_object.h.
|
inline |
Definition at line 96 of file security_logging_object.h.
|
virtual |
Implements DBEntryBase.
Definition at line 23 of file security_logging_object.cc.
|
inlinevirtual |
Implements AgentDBEntry.
Definition at line 77 of file security_logging_object.h.

| bool SecurityLoggingObject::IsEqual | ( | const std::vector< autogen::SecurityLoggingObjectRuleEntryType > & | lhs, |
| const std::vector< autogen::SecurityLoggingObjectRuleEntryType > & | rhs | ||
| ) | const |
Definition at line 98 of file security_logging_object.cc.
|
virtual |
Implements DBEntry.
Definition at line 92 of file security_logging_object.cc.
|
inline |
Definition at line 92 of file security_logging_object.h.
|
inline |
Definition at line 91 of file security_logging_object.h.
|
inline |
Definition at line 87 of file security_logging_object.h.
|
virtual |
Implements DBEntry.
Definition at line 28 of file security_logging_object.cc.
|
inline |
Definition at line 81 of file security_logging_object.h.
|
virtual |
Implements DBEntryBase.
Definition at line 34 of file security_logging_object.cc.
|
inline |
Definition at line 84 of file security_logging_object.h.
|
private |
Definition at line 104 of file security_logging_object.h.
|
private |
Definition at line 105 of file security_logging_object.h.
|
private |
Definition at line 103 of file security_logging_object.h.
|
private |
Definition at line 102 of file security_logging_object.h.
|
private |
Definition at line 101 of file security_logging_object.h.
|
private |
Definition at line 99 of file security_logging_object.h.
|
private |
Definition at line 100 of file security_logging_object.h.