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 |
![]() | |
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 () |
![]() | |
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 () |
![]() | |
virtual bool | operator< (const LocalObject &) const |
virtual bool | operator== (const LocalObject &) const |
![]() | |
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 const unsigned char | NoDelete |
![]() | |
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.