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

Represents an observer for invocations on proxies. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::Instrumentation::InvocationObserver:

Public Member Functions

virtual CollocatedObserverPtr getCollocatedObserver (const ObjectAdapterPtr &adapter, int requestId, int size)=0
 Gets a collocated observer for this invocation.
virtual RemoteObserverPtr getRemoteObserver (const ConnectionInfoPtr &con, const EndpointPtr &endpt, int requestId, int size)=0
 Gets a remote observer for this invocation.
virtual void retried ()=0
 Notifies the observer that an invocation was retried.
virtual void userException ()=0
 Notifies the observer that a user exception was received.
Public Member Functions inherited from Ice::Instrumentation::Observer
virtual void attach ()=0
 Notifies the observer that an instrumented object was created.
virtual void detach ()=0
 Notifies the observer that an instrumented object was destroyed.
virtual void failed (const std::string &exceptionName)=0
 Notifies the observer of a failure.

Detailed Description

Represents an observer for invocations on proxies.

A proxy invocation can either result in a collocated or remote invocation. If it results in a remote invocation, a sub-observer is requested for the remote invocation.

Definition at line 187 of file Instrumentation.h.


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