Ice 3.7 C++98 API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
Ice::Instrumentation::ConnectionObserver Class Referenceabstract

The connection observer interface to instrument Ice connections. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::Instrumentation::ConnectionObserver:
Inheritance graph
[legend]
Collaboration diagram for Ice::Instrumentation::ConnectionObserver:
Collaboration graph
[legend]

Public Types

typedef ConnectionObserverPtr PointerType
 
- Public Types inherited from Ice::Instrumentation::Observer
typedef ObserverPtr PointerType
 

Public Member Functions

virtual void receivedBytes (::Ice::Int num)=0
 Notification of received bytes over the connection. More...
 
virtual void sentBytes (::Ice::Int num)=0
 Notification of sent bytes over the connection. More...
 
virtual ~ConnectionObserver ()
 
- Public Member Functions inherited from Ice::Instrumentation::Observer
virtual void attach ()=0
 This method is called when the instrumented object is created or when the observer is attached to an existing object. More...
 
virtual void detach ()=0
 This method is called when the instrumented object is destroyed and as a result the observer detached from the object. More...
 
virtual void failed (const ::std::string &exceptionName)=0
 Notification of a failure. More...
 
virtual ~Observer ()
 
- Public Member Functions inherited from Ice::LocalObject
virtual bool operator< (const LocalObject &) const
 
virtual bool operator== (const LocalObject &) const
 
- Public Member Functions inherited from IceUtil::Shared
void __clearFlag (unsigned char flag)
 
virtual void __decRef ()
 
virtual int __getRef () const
 
bool __hasFlag (unsigned char flag)
 
virtual void __incRef ()
 
void __setFlag (unsigned char flag)
 
virtual void __setNoDelete (bool)
 
Sharedoperator= (const Shared &)
 
 Shared ()
 
 Shared (const Shared &)
 
virtual ~Shared ()
 

Additional Inherited Members

- Static Public Attributes inherited from IceUtil::Shared
static const unsigned char NoDelete
 
- Protected Attributes inherited from IceUtil::Shared
unsigned char _flags
 
IceUtilInternal::Atomic _ref
 

Detailed Description

The connection observer interface to instrument Ice connections.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~ConnectionObserver()

virtual Ice::Instrumentation::ConnectionObserver::~ConnectionObserver ( )
virtual

Member Function Documentation

◆ receivedBytes()

virtual void Ice::Instrumentation::ConnectionObserver::receivedBytes ( ::Ice::Int  num)
pure virtual

Notification of received bytes over the connection.

Parameters
numThe number of bytes received.

◆ sentBytes()

virtual void Ice::Instrumentation::ConnectionObserver::sentBytes ( ::Ice::Int  num)
pure virtual

Notification of sent bytes over the connection.

Parameters
numThe number of bytes sent.

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