OpenSDN source code
KSyncDummyEntry Class Reference
Inheritance diagram for KSyncDummyEntry:
Collaboration diagram for KSyncDummyEntry:

Public Member Functions

 KSyncDummyEntry ()
 
virtual ~KSyncDummyEntry ()
 
virtual bool IsLess (const KSyncEntry &rhs) const
 
std::string ToString () const
 
bool Add ()
 
bool Change ()
 
bool Delete ()
 
KSyncObjectGetObject () const
 
KSyncEntryUnresolvedReference ()
 
bool IsDataResolved ()
 
- Public Member Functions inherited from KSyncEntry
std::string StateString () const
 
std::string AckOperationString (KSyncEvent ack_event) const
 
std::string EventString (KSyncEvent event) const
 
 KSyncEntry ()
 
 KSyncEntry (uint32_t index)
 
virtual ~KSyncEntry ()
 
void Reset ()
 
void Reset (uint32_t index)
 
bool operator< (const KSyncEntry &rhs) const
 
virtual bool ShouldReEvalBackReference () const
 
bool IsResolved ()
 
virtual void Response ()
 
virtual bool AllowDeleteStateComp ()
 
virtual void ErrorHandler (int err, uint32_t seqno, KSyncEvent event) const
 
virtual std::string VrouterError (uint32_t error) const
 
virtual bool pre_alloc_rx_buffer () const
 
virtual uint32_t GetTableIndex () const
 
virtual void StaleTimerExpired ()
 
size_t GetIndex () const
 
KSyncState GetState () const
 
bool del_add_pending () const
 
uint32_t GetRefCount () const
 
bool Seen () const
 
bool stale () const
 
void SetSeen ()
 
bool IsDeleted ()
 
bool IsActive ()
 
void set_del_add_pending (bool pending)
 
void RecordTransition (KSyncState from, KSyncState to, KSyncEvent event)
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (KSyncDummyEntry)
 

Additional Inherited Members

- Public Types inherited from KSyncEntry
enum  KSyncState {
  INIT , TEMP , ADD_DEFER , CHANGE_DEFER ,
  IN_SYNC , SYNC_WAIT , NEED_SYNC , DEL_DEFER_SYNC ,
  DEL_DEFER_REF , DEL_DEFER_DEL_ACK , DEL_ACK_WAIT , RENEW_WAIT ,
  FREE_WAIT
}
 
enum  KSyncEvent {
  ADD_CHANGE_REQ , ADD_ACK , CHANGE_ACK , DEL_REQ ,
  DEL_ADD_REQ , DEL_ACK , RE_EVAL , INT_PTR_REL ,
  INVALID
}
 
typedef boost::intrusive_ptr< KSyncEntryKSyncEntryPtr
 
- Static Public Member Functions inherited from KSyncEntry
static std::string VrouterErrorToString (uint32_t error)
 
- Static Public Attributes inherited from KSyncEntry
static const size_t kInvalidIndex = 0xFFFFFFFF
 
static const int kDefaultMsgSize = 512
 
- Protected Member Functions inherited from KSyncEntry
void SetIndex (size_t index)
 
void SetState (KSyncState state)
 

Detailed Description

Definition at line 1644 of file ksync_object.cc.

Constructor & Destructor Documentation

◆ KSyncDummyEntry()

KSyncDummyEntry::KSyncDummyEntry ( )
inline

Definition at line 1646 of file ksync_object.cc.

◆ ~KSyncDummyEntry()

virtual KSyncDummyEntry::~KSyncDummyEntry ( )
inlinevirtual

Definition at line 1647 of file ksync_object.cc.

Member Function Documentation

◆ Add()

bool KSyncDummyEntry::Add ( )
inlinevirtual

Implements KSyncEntry.

Definition at line 1652 of file ksync_object.cc.

◆ Change()

bool KSyncDummyEntry::Change ( )
inlinevirtual

Implements KSyncEntry.

Definition at line 1653 of file ksync_object.cc.

◆ Delete()

bool KSyncDummyEntry::Delete ( )
inlinevirtual

Implements KSyncEntry.

Definition at line 1654 of file ksync_object.cc.

◆ DISALLOW_COPY_AND_ASSIGN()

KSyncDummyEntry::DISALLOW_COPY_AND_ASSIGN ( KSyncDummyEntry  )
private

◆ GetObject()

KSyncObject* KSyncDummyEntry::GetObject ( ) const
inlinevirtual

Implements KSyncEntry.

Definition at line 1655 of file ksync_object.cc.

◆ IsDataResolved()

bool KSyncDummyEntry::IsDataResolved ( )
inlinevirtual

Reimplemented from KSyncEntry.

Definition at line 1657 of file ksync_object.cc.

◆ IsLess()

virtual bool KSyncDummyEntry::IsLess ( const KSyncEntry rhs) const
inlinevirtual

Implements KSyncEntry.

Definition at line 1648 of file ksync_object.cc.

◆ ToString()

std::string KSyncDummyEntry::ToString ( ) const
inlinevirtual

Implements KSyncEntry.

Definition at line 1651 of file ksync_object.cc.

◆ UnresolvedReference()

KSyncEntry* KSyncDummyEntry::UnresolvedReference ( )
inlinevirtual

Implements KSyncEntry.

Definition at line 1656 of file ksync_object.cc.


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