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


Public Member Functions | |
| virtual ::std::shared_ptr<::Ice::Instrumentation::CollocatedObserver > | getCollocatedObserver (const ::std::shared_ptr<::Ice::ObjectAdapter > &adapter, int requestId, int size)=0 |
| Get a collocated observer for this invocation. More... | |
| virtual ::std::shared_ptr<::Ice::Instrumentation::RemoteObserver > | getRemoteObserver (const ::std::shared_ptr<::Ice::ConnectionInfo > &con, const ::std::shared_ptr<::Ice::Endpoint > &endpt, int requestId, 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 () |
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.