OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OVSDB::ConnectionStateTable Class Reference

#include <ovsdb_client_connection_state.h>

Collaboration diagram for OVSDB::ConnectionStateTable:

Public Types

typedef std::map< std::string,
ConnectionStateEntry * > 
EntryMap
 

Public Member Functions

 ConnectionStateTable (Agent *agent, OvsPeerManager *manager)
 
virtual ~ConnectionStateTable ()
 
void AddIdlToConnectionState (const std::string &device_name, OvsdbClientIdl *idl)
 
void DelIdlToConnectionState (const std::string &device_name, OvsdbClientIdl *idl)
 
ConnectionStateEntryFind (const std::string &device_name)
 

Private Member Functions

void PhysicalDeviceNotify (DBTablePartBase *part, DBEntryBase *e)
 
void UpdateConnectionInfo (ConnectionStateEntry *entry, bool deleted)
 
void NotifyUve (ConnectionStateEntry *entry, bool deleted)
 
 DISALLOW_COPY_AND_ASSIGN (ConnectionStateTable)
 

Private Attributes

Agentagent_
 
DBTableBasetable_
 
DBTableBase::ListenerId id_
 
EntryMap entry_map_
 
OvsPeerManagermanager_
 

Friends

void intrusive_ptr_release (ConnectionStateEntry *p)
 

Detailed Description

Definition at line 28 of file ovsdb_client_connection_state.h.

Member Typedef Documentation

Definition at line 30 of file ovsdb_client_connection_state.h.

Constructor & Destructor Documentation

ConnectionStateTable::ConnectionStateTable ( Agent agent,
OvsPeerManager manager 
)

Definition at line 64 of file ovsdb_client_connection_state.cc.

Here is the call graph for this function:

ConnectionStateTable::~ConnectionStateTable ( )
virtual

Definition at line 73 of file ovsdb_client_connection_state.cc.

Here is the call graph for this function:

Member Function Documentation

void ConnectionStateTable::AddIdlToConnectionState ( const std::string &  device_name,
OvsdbClientIdl idl 
)

Definition at line 77 of file ovsdb_client_connection_state.cc.

Here is the call graph for this function:

void ConnectionStateTable::DelIdlToConnectionState ( const std::string &  device_name,
OvsdbClientIdl idl 
)

Definition at line 92 of file ovsdb_client_connection_state.cc.

Here is the call graph for this function:

OVSDB::ConnectionStateTable::DISALLOW_COPY_AND_ASSIGN ( ConnectionStateTable  )
private
ConnectionStateEntry * ConnectionStateTable::Find ( const std::string &  device_name)

Definition at line 110 of file ovsdb_client_connection_state.cc.

void ConnectionStateTable::NotifyUve ( ConnectionStateEntry entry,
bool  deleted 
)
private

Definition at line 204 of file ovsdb_client_connection_state.cc.

Here is the call graph for this function:

void ConnectionStateTable::PhysicalDeviceNotify ( DBTablePartBase part,
DBEntryBase e 
)
private

Definition at line 118 of file ovsdb_client_connection_state.cc.

Here is the call graph for this function:

void ConnectionStateTable::UpdateConnectionInfo ( ConnectionStateEntry entry,
bool  deleted 
)
private

Definition at line 168 of file ovsdb_client_connection_state.cc.

Here is the call graph for this function:

Friends And Related Function Documentation

void intrusive_ptr_release ( ConnectionStateEntry p)
friend

Definition at line 53 of file ovsdb_client_connection_state.cc.

Member Data Documentation

Agent* OVSDB::ConnectionStateTable::agent_
private

Definition at line 53 of file ovsdb_client_connection_state.h.

EntryMap OVSDB::ConnectionStateTable::entry_map_
private

Definition at line 56 of file ovsdb_client_connection_state.h.

DBTableBase::ListenerId OVSDB::ConnectionStateTable::id_
private

Definition at line 55 of file ovsdb_client_connection_state.h.

OvsPeerManager* OVSDB::ConnectionStateTable::manager_
private

Definition at line 57 of file ovsdb_client_connection_state.h.

DBTableBase* OVSDB::ConnectionStateTable::table_
private

Definition at line 54 of file ovsdb_client_connection_state.h.


The documentation for this class was generated from the following files: