Ice 3.7 Slice API Reference
Operations | List of all members
Ice::Instrumentation::InvocationObserver Local Interface Reference

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

defined in <Ice/Instrumentation.ice>

local interface InvocationObserver extends Ice::Instrumentation::Observer { ... }

Inheritance diagram for Ice::Instrumentation::InvocationObserver:
Inheritance graph
[legend]
Collaboration diagram for Ice::Instrumentation::InvocationObserver:
Collaboration graph
[legend]

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...
 

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.

Operation Documentation

◆ getCollocatedObserver()

CollocatedObserver getCollocatedObserver ( ObjectAdapter  adapter,
int  requestId,
int  size 
)

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()

RemoteObserver getRemoteObserver ( ConnectionInfo  con,
Endpoint  endpt,
int  requestId,
int  size 
)

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()

void retried ( )

Notification of the invocation being retried.

◆ userException()

void userException ( )

Notification of a user exception.


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