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

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

defined in <Ice/Instrumentation.ice>

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

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

Operations

void stateChanged (ThreadState oldState, ThreadState newState)
 Notification of thread state change. 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 thread observer interface to instrument Ice threads.

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

Operation Documentation

◆ stateChanged()

void stateChanged ( ThreadState  oldState,
ThreadState  newState 
)

Notification of thread state change.

Parameters
oldStateThe previous thread state.
newStateThe new thread state.

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