Package com.zeroc.Ice.Instrumentation
Interface InvocationObserver
- All Superinterfaces:
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.
-
Method Summary
Modifier and TypeMethodDescriptiongetCollocatedObserver
(ObjectAdapter adapter, int requestId, int size) Get a collocated observer for this invocation.getRemoteObserver
(ConnectionInfo con, Endpoint endpt, int requestId, int size) Get a remote observer for this invocation.void
retried()
Notification of the invocation being retried.void
Notification of a user exception.
-
Method Details
-
retried
void retried()Notification of the invocation being retried. -
userException
void userException()Notification of a user exception. -
getRemoteObserver
Get a remote observer for this invocation.- Parameters:
con
- The connection information.endpt
- The connection endpoint.requestId
- The ID of the invocation.size
- The size of the invocation.- Returns:
- The observer to instrument the remote invocation.
-
getCollocatedObserver
Get a collocated observer for this invocation.- Parameters:
adapter
- The object adapter hosting the collocated Ice object.requestId
- The ID of the invocation.size
- The size of the invocation.- Returns:
- The observer to instrument the collocated invocation.
-