Package com.zeroc.Ice.Instrumentation
Interface ObserverUpdater
public interface ObserverUpdater
The observer updater interface. This interface is implemented by
the Ice run-time and an instance of this interface is provided by
the Ice communicator on initialization to the
CommunicatorObserver
object set with the communicator
initialization data. The Ice communicator calls
CommunicatorObserver.setObserverUpdater(com.zeroc.Ice.Instrumentation.ObserverUpdater)
to provide the observer
updater.
This interface can be used by add-ins implementing the
CommunicatorObserver
interface to update the observers of
connections and threads.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Update connection observers associated with each of the Ice connection from the communicator and its object adapters.void
Update thread observers associated with each of the Ice thread from the communicator and its object adapters.
-
Method Details
-
updateConnectionObservers
void updateConnectionObservers()Update connection observers associated with each of the Ice connection from the communicator and its object adapters. When called, this method goes through all the connections and for each connectionCommunicatorObserver.getConnectionObserver(com.zeroc.Ice.ConnectionInfo, com.zeroc.Ice.Endpoint, com.zeroc.Ice.Instrumentation.ConnectionState, com.zeroc.Ice.Instrumentation.ConnectionObserver)
is called. The implementation of getConnectionObserver has the possibility to return an updated observer if necessary. -
updateThreadObservers
void updateThreadObservers()Update thread observers associated with each of the Ice thread from the communicator and its object adapters. When called, this method goes through all the threads and for each threadCommunicatorObserver.getThreadObserver(java.lang.String, java.lang.String, com.zeroc.Ice.Instrumentation.ThreadState, com.zeroc.Ice.Instrumentation.ThreadObserver)
is called. The implementation of getThreadObserver has the possibility to return an updated observer if necessary.
-