TAO 3.0.9
Public Member Functions | Private Attributes | List of all members
TAO::Transport::Stats Class Reference

#include <Transport.h>

Collaboration diagram for TAO::Transport::Stats:
Collaboration graph
[legend]

Public Member Functions

 Stats ()
 
virtual ~Stats ()
 
void messages_sent (size_t message_length)
 
CORBA::LongLong messages_sent () const
 
CORBA::LongLong bytes_sent () const
 
void messages_received (size_t message_length)
 
CORBA::LongLong messages_received () const
 
CORBA::LongLong bytes_received () const
 
void opened_since (const ACE_Time_Value &tv)
 
const ACE_Time_Valueopened_since () const
 

Private Attributes

TAO_SYNCH_MUTEX stat_mutex_
 Mutex guarding the internal state of the statistics. More...
 
CORBA::LongLong messages_rcvd_
 
CORBA::LongLong messages_sent_
 
ACE_Basic_Stats bytes_rcvd_
 
ACE_Basic_Stats bytes_sent_
 
ACE_Time_Value opened_since_
 

Constructor & Destructor Documentation

◆ Stats()

TAO::Transport::Stats::Stats ( )

◆ ~Stats()

TAO::Transport::Stats::~Stats ( )
virtual

Member Function Documentation

◆ bytes_received()

CORBA::LongLong TAO::Transport::Stats::bytes_received ( ) const

◆ bytes_sent()

CORBA::LongLong TAO::Transport::Stats::bytes_sent ( ) const

◆ messages_received() [1/2]

CORBA::LongLong TAO::Transport::Stats::messages_received ( ) const

◆ messages_received() [2/2]

void TAO::Transport::Stats::messages_received ( size_t  message_length)

◆ messages_sent() [1/2]

CORBA::LongLong TAO::Transport::Stats::messages_sent ( ) const

◆ messages_sent() [2/2]

void TAO::Transport::Stats::messages_sent ( size_t  message_length)

◆ opened_since() [1/2]

const ACE_Time_Value & TAO::Transport::Stats::opened_since ( ) const

◆ opened_since() [2/2]

void TAO::Transport::Stats::opened_since ( const ACE_Time_Value tv)

Member Data Documentation

◆ bytes_rcvd_

ACE_Basic_Stats TAO::Transport::Stats::bytes_rcvd_
private

◆ bytes_sent_

ACE_Basic_Stats TAO::Transport::Stats::bytes_sent_
private

◆ messages_rcvd_

CORBA::LongLong TAO::Transport::Stats::messages_rcvd_
private

The bytes_rcvd_.samples_count() could have been used instead, however there was a suspicion that 32 bits would be insufficient.

◆ messages_sent_

CORBA::LongLong TAO::Transport::Stats::messages_sent_
private

The bytes_sent_.samples_count() could have been used instead, however there was a suspicion that 32 bits would be insufficient.

◆ opened_since_

ACE_Time_Value TAO::Transport::Stats::opened_since_
private

◆ stat_mutex_

TAO_SYNCH_MUTEX TAO::Transport::Stats::stat_mutex_
mutableprivate

Mutex guarding the internal state of the statistics.


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