- All Known Subinterfaces:
ChildInvocationObserver,CollocatedObserver,ConnectionObserver,DispatchObserver,InvocationObserver,RemoteObserver,ThreadObserver
- All Known Implementing Classes:
Observer,ObserverWithDelegate,ObserverWithDelegateI
public interface Observer
The object observer interface used by instrumented objects to notify the observer of their existence.
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 an Ice runtime thread.
-
Method Summary
-
Method Details
-
attach
void attach()Notifies the observer that an instrumented object was created. -
detach
void detach()Notifies the observer that an instrumented object was destroyed. -
failed
Notifies the observer of a failure.- Parameters:
exceptionName- The name of the exception.
-