Ice 3.7 C++11 API Reference
Loading...
Searching...
No Matches
Ice::Instrumentation::ConnectionObserver Class Referenceabstract

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

#include <Ice/Ice.h>

Inheritance diagram for Ice::Instrumentation::ConnectionObserver:
Collaboration diagram for Ice::Instrumentation::ConnectionObserver:

Public Member Functions

virtual void receivedBytes (int num)=0
 Notification of received bytes over the connection.
virtual void sentBytes (int num)=0
 Notification of sent bytes over the connection.
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.
virtual void detach ()=0
 This method is called when the instrumented object is destroyed and as a result the observer detached from the object.
virtual void failed (const ::std::string &exceptionName)=0
 Notification of a failure.
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: