Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
Ice::Instrumentation::CommunicatorObserver Class Referenceabstract

The communicator observer interface used by the Ice runtime to obtain and update observers for its observable objects. More...

#include <Ice/Ice.h>

Public Member Functions

virtual ObserverPtr getConnectionEstablishmentObserver (const EndpointPtr &endpt, const std::string &connector)=0
 Gets an observer for the given endpoint information and connector.
virtual ConnectionObserverPtr getConnectionObserver (const ConnectionInfoPtr &c, const EndpointPtr &e, ConnectionState s, const ConnectionObserverPtr &o)=0
 Gets an observer for the given connection.
virtual DispatchObserverPtr getDispatchObserver (const Current &c, int size)=0
 Gets a dispatch observer for the given dispatch.
virtual ObserverPtr getEndpointLookupObserver (const EndpointPtr &endpt)=0
 Gets an observer for the given endpoint information.
virtual InvocationObserverPtr getInvocationObserver (const std::optional< ObjectPrx > &prx, std::string_view operation, const Context &ctx)=0
 Gets an invocation observer for the given invocation.
virtual ThreadObserverPtr getThreadObserver (const std::string &parent, const std::string &id, ThreadState s, const ThreadObserverPtr &o)=0
 Gets a thread observer for the given thread.
virtual void setObserverUpdater (const ObserverUpdaterPtr &updater)=0
 Sets the observer updater.

Detailed Description

The communicator observer interface used by the Ice runtime to obtain and update observers for its observable objects.

This interface should be implemented by add-ins that wish to observe Ice objects in order to collect statistics. An instance of this interface can be provided to the Ice run-time through the Ice communicator initialization data.

Definition at line 244 of file Instrumentation.h.


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