Ice 3.7 C++98 API Reference
|
The connection observer interface to instrument Ice connections. More...
#include <Ice/Ice.h>
Public Types | |
typedef ConnectionObserverPtr | PointerType |
![]() | |
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 () |
![]() | |
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 () |
![]() | |
virtual bool | operator< (const LocalObject &) const |
virtual bool | operator== (const LocalObject &) const |
![]() | |
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) |
Shared & | operator= (const Shared &) |
Shared () | |
Shared (const Shared &) | |
virtual | ~Shared () |
Additional Inherited Members | |
![]() | |
static const unsigned char | NoDelete |
![]() | |
unsigned char | _flags |
IceUtilInternal::Atomic | _ref |
The connection observer interface to instrument Ice connections.
|
virtual |
|
pure virtual |
Notification of received bytes over the connection.
num | The number of bytes received. |
|
pure virtual |
Notification of sent bytes over the connection.
num | The number of bytes sent. |