Ice 3.7 C++11 API Reference
Public Member Functions | List of all members
Ice::Instrumentation::ThreadObserver Class Referenceabstract

The thread observer interface to instrument Ice threads. More...

#include <Ice/Ice.h>

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

Public Member Functions

virtual void stateChanged (ThreadState oldState, ThreadState newState)=0
 Notification of thread state change. More...
 
virtual ~ThreadObserver ()
 
- Public Member Functions inherited from Ice::Instrumentation::Observer
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 ()
 

Detailed Description

The thread observer interface to instrument Ice threads.

This can be threads from the Ice thread pool or utility threads used by the Ice core.

Constructor & Destructor Documentation

◆ ~ThreadObserver()

virtual Ice::Instrumentation::ThreadObserver::~ThreadObserver ( )
virtual

Member Function Documentation

◆ stateChanged()

virtual void Ice::Instrumentation::ThreadObserver::stateChanged ( ThreadState  oldState,
ThreadState  newState 
)
pure virtual

Notification of thread state change.

Parameters
oldStateThe previous thread state.
newStateThe new thread state.

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