Ice 3.7 C++11 API Reference
|
The communicator observer interface used by the Ice run-time to obtain and update observers for its observable objects. More...
#include <Ice/Ice.h>
Public Member Functions | |
virtual ::std::shared_ptr<::Ice::Instrumentation::Observer > | getConnectionEstablishmentObserver (const ::std::shared_ptr<::Ice::Endpoint > &endpt, const ::std::string &connector)=0 |
This method should return an observer for the given endpoint information and connector. More... | |
virtual ::std::shared_ptr<::Ice::Instrumentation::ConnectionObserver > | getConnectionObserver (const ::std::shared_ptr<::Ice::ConnectionInfo > &c, const ::std::shared_ptr<::Ice::Endpoint > &e, ConnectionState s, const ::std::shared_ptr< ConnectionObserver > &o)=0 |
This method should return a connection observer for the given connection. More... | |
virtual ::std::shared_ptr<::Ice::Instrumentation::DispatchObserver > | getDispatchObserver (const ::Ice::Current &c, int size)=0 |
This method should return a dispatch observer for the given dispatch. More... | |
virtual ::std::shared_ptr<::Ice::Instrumentation::Observer > | getEndpointLookupObserver (const ::std::shared_ptr<::Ice::Endpoint > &endpt)=0 |
This method should return an observer for the given endpoint information. More... | |
virtual ::std::shared_ptr<::Ice::Instrumentation::InvocationObserver > | getInvocationObserver (const ::std::shared_ptr<::Ice::ObjectPrx > &prx, const ::std::string &operation, const ::Ice::Context &ctx)=0 |
This method should return an invocation observer for the given invocation. More... | |
virtual ::std::shared_ptr<::Ice::Instrumentation::ThreadObserver > | getThreadObserver (const ::std::string &parent, const ::std::string &id, ThreadState s, const ::std::shared_ptr< ThreadObserver > &o)=0 |
This method should return a thread observer for the given thread. More... | |
virtual void | setObserverUpdater (const ::std::shared_ptr< ObserverUpdater > &updater)=0 |
The Ice run-time calls this method when the communicator is initialized. More... | |
virtual | ~CommunicatorObserver () |
The communicator observer interface used by the Ice run-time to obtain and update observers for its observable objects.
This interface should be implemented by add-ins that wish to observe Ice objects in order to collect statistics. An instance of this interface can be provided to the Ice run-time through the Ice communicator initialization data.
|
virtual |
|
pure virtual |
This method should return an observer for the given endpoint information and connector.
The Ice run-time calls this method for each connection establishment attempt.
endpt | The endpoint. |
connector | The description of the connector. For IP transports, this is typically the IP address to connect to. |
|
pure virtual |
This method should return a connection observer for the given connection.
The Ice run-time calls this method for each new connection and for all the Ice communicator connections when ObserverUpdater#updateConnectionObservers is called.
c | The connection information. |
e | The connection endpoint. |
s | The state of the connection. |
o | The old connection observer if one is already set or a null reference otherwise. |
|
pure virtual |
This method should return a dispatch observer for the given dispatch.
The Ice run-time calls this method each time it receives an incoming invocation to be dispatched for an Ice object.
c | The current object as provided to the Ice servant dispatching the invocation. |
size | The size of the dispatch. |
|
pure virtual |
This method should return an observer for the given endpoint information.
The Ice run-time calls this method to resolve an endpoint and obtain the list of connectors.
For IP endpoints, this typically involves doing a DNS lookup to obtain the IP addresses associated with the DNS name.
endpt | The endpoint. |
|
pure virtual |
This method should return an invocation observer for the given invocation.
The Ice run-time calls this method for each new invocation on a proxy.
prx | The proxy used for the invocation. |
operation | The name of the invocation. |
ctx | The context specified by the user. |
|
pure virtual |
This method should return a thread observer for the given thread.
The Ice run-time calls this method for each new thread and for all the Ice communicator threads when ObserverUpdater#updateThreadObservers is called.
parent | The parent of the thread. |
id | The ID of the thread to observe. |
s | The state of the thread. |
o | The old thread observer if one is already set or a null reference otherwise. |
|
pure virtual |