Ice 3.7 C++11 API Reference
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 Member Functions

virtual void receivedBytes (int num)=0
 Notification of received bytes over the connection. More...
 
virtual void sentBytes (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 ()
 

Detailed Description

The connection observer interface to instrument Ice connections.

Constructor & Destructor Documentation

◆ ~ConnectionObserver()

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

Member Function Documentation

◆ receivedBytes()

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

Notification of received bytes over the connection.

Parameters
numThe number of bytes received.

◆ sentBytes()

virtual void Ice::Instrumentation::ConnectionObserver::sentBytes ( 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: