|
Ice 3.7 Slice API Reference
|
The invocation observer to instrument invocations on proxies. More...
defined in <Ice/Instrumentation.ice>
local interface InvocationObserver extends Ice::Instrumentation::Observer { ... }


Operations | |
| CollocatedObserver | getCollocatedObserver (ObjectAdapter adapter, int requestId, int size) |
| Get a collocated observer for this invocation. More... | |
| RemoteObserver | getRemoteObserver (ConnectionInfo con, Endpoint endpt, int requestId, int size) |
| Get a remote observer for this invocation. More... | |
| void | retried () |
| Notification of the invocation being retried. More... | |
| void | userException () |
| Notification of a user exception. More... | |
Operations inherited from Ice::Instrumentation::Observer | |
| void | attach () |
| This method is called when the instrumented object is created or when the observer is attached to an existing object. More... | |
| void | detach () |
| This method is called when the instrumented object is destroyed and as a result the observer detached from the object. More... | |
| void | failed (string exceptionName) |
| Notification of a failure. More... | |
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.
| CollocatedObserver getCollocatedObserver | ( | ObjectAdapter | adapter, |
| int | requestId, | ||
| int | size | ||
| ) |
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. |
| RemoteObserver getRemoteObserver | ( | ConnectionInfo | con, |
| Endpoint | endpt, | ||
| int | requestId, | ||
| int | size | ||
| ) |
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. |
| void retried | ( | ) |
Notification of the invocation being retried.
| void userException | ( | ) |
Notification of a user exception.