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

The invocation observer to instrument invocations on proxies. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::Instrumentation::InvocationObserver:
Collaboration diagram for Ice::Instrumentation::InvocationObserver:

Public Types

typedef InvocationObserverPtr PointerType
Public Types inherited from Ice::Instrumentation::Observer
typedef ObserverPtr PointerType

Public Member Functions

virtual CollocatedObserverPtr getCollocatedObserver (const ::Ice::ObjectAdapterPtr &adapter, ::Ice::Int requestId, ::Ice::Int size)=0
 Get a collocated observer for this invocation.
virtual RemoteObserverPtr getRemoteObserver (const ::Ice::ConnectionInfoPtr &con, const ::Ice::EndpointPtr &endpt, ::Ice::Int requestId, ::Ice::Int size)=0
 Get a remote observer for this invocation.
virtual void retried ()=0
 Notification of the invocation being retried.
virtual void userException ()=0
 Notification of a user exception.
virtual ~InvocationObserver ()
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 ()
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 invocation observer to instrument 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.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~InvocationObserver()

virtual Ice::Instrumentation::InvocationObserver::~InvocationObserver ( )
virtual

Member Function Documentation

◆ getCollocatedObserver()

virtual CollocatedObserverPtr Ice::Instrumentation::InvocationObserver::getCollocatedObserver ( const ::Ice::ObjectAdapterPtr & adapter,
::Ice::Int requestId,
::Ice::Int size )
pure virtual

Get a collocated observer for this invocation.

Parameters
adapterThe object adapter hosting the collocated Ice object.
requestIdThe ID of the invocation.
sizeThe size of the invocation.
Returns
The observer to instrument the collocated invocation.

◆ getRemoteObserver()

virtual RemoteObserverPtr Ice::Instrumentation::InvocationObserver::getRemoteObserver ( const ::Ice::ConnectionInfoPtr & con,
const ::Ice::EndpointPtr & endpt,
::Ice::Int requestId,
::Ice::Int size )
pure virtual

Get a remote observer for this invocation.

Parameters
conThe connection information.
endptThe connection endpoint.
requestIdThe ID of the invocation.
sizeThe size of the invocation.
Returns
The observer to instrument the remote invocation.

◆ retried()

virtual void Ice::Instrumentation::InvocationObserver::retried ( )
pure virtual

Notification of the invocation being retried.

◆ userException()

virtual void Ice::Instrumentation::InvocationObserver::userException ( )
pure virtual

Notification of a user exception.


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