feisty meow concerns codebase  2.140
sockets::sequence_tracker Class Reference

this will keep track of sequencing for a communication process on a per host basis. More...

#include <sequence_tracker.h>

Inheritance diagram for sockets::sequence_tracker:
Collaboration diagram for sockets::sequence_tracker:

Public Member Functions

 sequence_tracker (int coalesce_time, int silence_time)
 
 ~sequence_tracker ()
 
 DEFINE_CLASS_NAME ("sequence_tracker")
 
void add_pair (const machine_uid &host, int sequence)
 
bool have_seen (const machine_uid &host, int sequence)
 
void clean_up ()
 
basis::astring text_form (bool verbose=false) const
 

Detailed Description

this will keep track of sequencing for a communication process on a per host basis.

Definition at line 39 of file sequence_tracker.h.

Constructor & Destructor Documentation

◆ sequence_tracker()

sockets::sequence_tracker::sequence_tracker ( int  coalesce_time,
int  silence_time 
)

Definition at line 254 of file sequence_tracker.cpp.

◆ ~sequence_tracker()

sockets::sequence_tracker::~sequence_tracker ( )

Definition at line 262 of file sequence_tracker.cpp.

References basis::WHACK().

Member Function Documentation

◆ add_pair()

void sockets::sequence_tracker::add_pair ( const machine_uid host,
int  sequence 
)

Definition at line 274 of file sequence_tracker.cpp.

◆ clean_up()

void sockets::sequence_tracker::clean_up ( )

Definition at line 294 of file sequence_tracker.cpp.

◆ DEFINE_CLASS_NAME()

sockets::sequence_tracker::DEFINE_CLASS_NAME ( "sequence_tracker"  )

◆ have_seen()

bool sockets::sequence_tracker::have_seen ( const machine_uid host,
int  sequence 
)

Definition at line 283 of file sequence_tracker.cpp.

References basis::negative().

◆ text_form()

astring sockets::sequence_tracker::text_form ( bool  verbose = false) const

Definition at line 268 of file sequence_tracker.cpp.

References verbose.


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