Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
Ice::Instrumentation::ObserverUpdater Class Referenceabstract

The observer updater interface. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::Instrumentation::ObserverUpdater:
Collaboration diagram for Ice::Instrumentation::ObserverUpdater:

Public Types

typedef ObserverUpdaterPtr PointerType

Public Member Functions

virtual void updateConnectionObservers ()=0
 Update connection observers associated with each of the Ice connection from the communicator and its object adapters.
virtual void updateThreadObservers ()=0
 Update thread observers associated with each of the Ice thread from the communicator and its object adapters.
virtual ~ObserverUpdater ()
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 observer updater interface.

This interface is implemented by the Ice run-time and an instance of this interface is provided by the Ice communicator on initialization to the CommunicatorObserver object set with the communicator initialization data. The Ice communicator calls CommunicatorObserver#setObserverUpdater to provide the observer updater.

This interface can be used by add-ins implementing the CommunicatorObserver interface to update the observers of connections and threads.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~ObserverUpdater()

virtual Ice::Instrumentation::ObserverUpdater::~ObserverUpdater ( )
virtual

Member Function Documentation

◆ updateConnectionObservers()

virtual void Ice::Instrumentation::ObserverUpdater::updateConnectionObservers ( )
pure virtual

Update connection observers associated with each of the Ice connection from the communicator and its object adapters.

When called, this method goes through all the connections and for each connection CommunicatorObserver#getConnectionObserver is called. The implementation of getConnectionObserver has the possibility to return an updated observer if necessary.

◆ updateThreadObservers()

virtual void Ice::Instrumentation::ObserverUpdater::updateThreadObservers ( )
pure virtual

Update thread observers associated with each of the Ice thread from the communicator and its object adapters.

When called, this method goes through all the threads and for each thread CommunicatorObserver#getThreadObserver is called. The implementation of getThreadObserver has the possibility to return an updated observer if necessary.


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