Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ getConnectionObserver()

virtual ConnectionObserverPtr Ice::Instrumentation::CommunicatorObserver::getConnectionObserver ( const ConnectionInfoPtr & c,
const EndpointPtr & e,
ConnectionState s,
const ConnectionObserverPtr & o )
pure virtual

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

Parameters
cThe connection information.
eThe connection endpoint.
sThe state of the connection.
oThe old connection observer if one is already set or a nullptr reference otherwise.
Returns
The connection observer to instrument the connection.