Interface Observer
- Namespace
- Ice.Instrumentation
- Assembly
- Ice.dll
The base interface for Ice observers.
public interface Observer
Remarks
The Ice runtime calls observers while updating its internal state and does not guard against exceptions they throw. Implementations of this interface and its derived interfaces must not throw exceptions: a thrown exception can leave the Ice runtime in an inconsistent state or terminate the process.
Methods
attach()
This method is called when the instrumented object is created or when the observer is attached to an existing object.
void attach()
detach()
This method is called when the instrumented object is destroyed and as a result the observer detached from the object.
void detach()
failed(string)
Notifies the observer of a failure.
void failed(string exceptionName)
Parameters
exceptionNamestringThe name of the exception.