OpenSDN source code
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

◆ EntryMap

Definition at line 30 of file ovsdb_client_connection_state.h.

Constructor & Destructor Documentation

◆ ConnectionStateTable()

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::~ConnectionStateTable ( )
virtual

Definition at line 73 of file ovsdb_client_connection_state.cc.

Here is the call graph for this function:

Member Function Documentation

◆ AddIdlToConnectionState()

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:

◆ DelIdlToConnectionState()

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:

◆ DISALLOW_COPY_AND_ASSIGN()

OVSDB::ConnectionStateTable::DISALLOW_COPY_AND_ASSIGN ( ConnectionStateTable  )
private

◆ Find()

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

Definition at line 110 of file ovsdb_client_connection_state.cc.

◆ NotifyUve()

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:

◆ PhysicalDeviceNotify()

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:

◆ UpdateConnectionInfo()

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

◆ intrusive_ptr_release

void intrusive_ptr_release ( ConnectionStateEntry p)
friend

Definition at line 53 of file ovsdb_client_connection_state.cc.

Member Data Documentation

◆ agent_

Agent* OVSDB::ConnectionStateTable::agent_
private

Definition at line 53 of file ovsdb_client_connection_state.h.

◆ entry_map_

EntryMap OVSDB::ConnectionStateTable::entry_map_
private

Definition at line 56 of file ovsdb_client_connection_state.h.

◆ id_

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

Definition at line 55 of file ovsdb_client_connection_state.h.

◆ manager_

OvsPeerManager* OVSDB::ConnectionStateTable::manager_
private

Definition at line 57 of file ovsdb_client_connection_state.h.

◆ table_

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: