Examples of DiagnosticEvent


Examples of com.volantis.mcs.interaction.diagnostic.DiagnosticEvent

        // =====================================================================
        //   Set Test Object Specific Expectations
        // =====================================================================

        diagnosticListenerMock.expects
                .diagnosticsChanged(new DiagnosticEvent(root, true));

        // =====================================================================
        //   Test Expectations
        // =====================================================================
View Full Code Here

Examples of com.volantis.mcs.interaction.diagnostic.DiagnosticEvent

        // different problems. If they were not then we would be firing the
        // event unnecessarily but that is probably not that much of a problem.
        // If it was then we would have to remember the previous diagnostics
        // and compare the two lists to see whether they were the same.
        if (hadDiagnostics || diagnostics != null) {
            DiagnosticEvent event = new DiagnosticEvent(this, true);

            // Take a copy of a reference to the array of listeners just in case
            // it is modified by one of the listeners.
            List listeners = diagnosticListeners;
            for (int i = 0; i < listeners.size(); i++) {
View Full Code Here

Examples of org.jzkit.search.provider.iface.DiagnosticEvent

   * @param target_name             the name of the target for the diagnostic
   * @param addinfo                 any additional information to include
   */
  public void setDiagnosticStatus(String status_code, String target_name, String addinfo ) {    
     Diagnostic the_diagnostic     = new Diagnostic(status_code, target_name, addinfo);
     DiagnosticEvent e             = new DiagnosticEvent(the_diagnostic);
     setChanged();
     notifyObservers(e);   
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.