|
Ice 3.7 C++98 API Reference
|
The invocation observer to instrument invocations on proxies. More...
#include <Ice/Ice.h>


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. More... | |
| 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. More... | |
| virtual void | retried ()=0 |
| Notification of the invocation being retried. More... | |
| virtual void | userException ()=0 |
| Notification of a user exception. More... | |
| 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. 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 () |
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) |
| Shared & | operator= (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 |
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.
|
virtual |
|
pure virtual |
Get a collocated observer for this invocation.
| adapter | The object adapter hosting the collocated Ice object. |
| requestId | The ID of the invocation. |
| size | The size of the invocation. |
|
pure virtual |
Get a remote observer for this invocation.
| con | The connection information. |
| endpt | The connection endpoint. |
| requestId | The ID of the invocation. |
| size | The size of the invocation. |
|
pure virtual |
Notification of the invocation being retried.
|
pure virtual |
Notification of a user exception.