private Ice.Instrumentation.Observer getObserver(IPEndpointI endpoint) {
   Ice.Instrumentation.CommunicatorObserver obsv = _instance.initializationData().observer;
   if (obsv != null) {
     return obsv.getEndpointLookupObserver(endpoint);
   }
   return null;
 }
 synchronized void updateObserver() {
   Ice.Instrumentation.CommunicatorObserver obsv = _instance.initializationData().observer;
   if (obsv != null) {
     _observer =
         obsv.getThreadObserver(
             "Communicator",
             _threadName,
             Ice.Instrumentation.ThreadState.ThreadStateIdle,
             _observer);
     if (_observer != null) {
       _observer.attach();
     }
   }
 }
Exemple #3
0
    public synchronized void updateObserver(Ice.Instrumentation.CommunicatorObserver obsv) {
      assert (obsv != null);

      _observer =
          obsv.getThreadObserver(
              "Communicator",
              _threadName,
              Ice.Instrumentation.ThreadState.ThreadStateIdle,
              _observer);
      if (_observer != null) {
        _observer.attach();
      }
    }