Examples of statusChanged()


Examples of com.dci.intellij.dbn.common.environment.EnvironmentChangeListener.statusChanged()

            listener.environmentConfigChanged(newEnvironmentTypeId);
        }

        if (settingsChanged) {
            ConnectionStatusListener listener = EventManager.notify(project, ConnectionStatusListener.TOPIC);
            listener.statusChanged(connectionId);
        }

    }

    @Override
View Full Code Here

Examples of com.dci.intellij.dbn.connection.ConnectionStatusListener.statusChanged()

                    // notify post-action
                    transactionListener.afterAction(connectionHandler, action, success);

                    if (action.isStatusChange()) {
                        ConnectionStatusListener statusListener = EventManager.notify(getProject(), ConnectionStatusListener.TOPIC);
                        statusListener.statusChanged(connectionHandler.getId());
                    }
                }
            }
        }
    }
View Full Code Here

Examples of com.dci.intellij.dbn.connection.ConnectionStatusListener.statusChanged()

            listener.environmentConfigChanged(newEnvironmentTypeId);
        }

        if (settingsChanged) {
            ConnectionStatusListener listener = EventManager.notify(project, ConnectionStatusListener.TOPIC);
            listener.statusChanged(connectionId);
        }

    }

    @Override
View Full Code Here

Examples of org.apache.airavata.gfac.notification.listeners.GSISSHJobSubmissionListener.statusChanged()

                Thread t = new Thread() {
                    @Override
                    public void run() {
                        try {
                            JobStatus jobStatus = finalCluster.getJobStatus(jobID);
                            listener.statusChanged(jobStatus);
                            while (true) {
                                while (!jobStatus.equals(JobStatus.C)) {
                                    if (!jobStatus.equals(listener.getJobStatus().toString())) {
                                        listener.setJobStatus(jobStatus);
                                        listener.statusChanged(jobStatus);
View Full Code Here

Examples of org.apache.airavata.gfac.notification.listeners.GSISSHJobSubmissionListener.statusChanged()

                            listener.statusChanged(jobStatus);
                            while (true) {
                                while (!jobStatus.equals(JobStatus.C)) {
                                    if (!jobStatus.equals(listener.getJobStatus().toString())) {
                                        listener.setJobStatus(jobStatus);
                                        listener.statusChanged(jobStatus);
                                    }
                                    Thread.sleep(60000);

                                    jobStatus = finalCluster.getJobStatus(jobID);
                                }
View Full Code Here

Examples of org.apache.airavata.gfac.notification.listeners.GSISSHJobSubmissionListener.statusChanged()

                                    jobStatus = finalCluster.getJobStatus(jobID);
                                }
                                //Set the job status to Complete
                                listener.setJobStatus(JobStatus.C);
                                listener.statusChanged(jobStatus);
                                break;
                            }
                        } catch (InterruptedException e) {
                            log.error("Error listening to the submitted job", e);
                        } catch (SSHApiException e) {
View Full Code Here

Examples of org.apache.airavata.gsi.ssh.listener.JobSubmissionListener.statusChanged()

                Thread t = new Thread() {
                    @Override
                    public void run() {
                        try {
                            JobStatus jobStatus = finalCluster.getJobStatus(jobID);
                            listener.statusChanged(jobStatus);
                            while (true) {
                                while (!jobStatus.equals(JobStatus.C)) {
                                    if (!jobStatus.equals(listener.getJobStatus().toString())) {
                                        listener.setJobStatus(jobStatus);
                                        listener.statusChanged(jobStatus);
View Full Code Here

Examples of org.apache.airavata.gsi.ssh.listener.JobSubmissionListener.statusChanged()

                            listener.statusChanged(jobStatus);
                            while (true) {
                                while (!jobStatus.equals(JobStatus.C)) {
                                    if (!jobStatus.equals(listener.getJobStatus().toString())) {
                                        listener.setJobStatus(jobStatus);
                                        listener.statusChanged(jobStatus);
                                    }
                                    Thread.sleep(60000);

                                    jobStatus = finalCluster.getJobStatus(jobID);
                                }
View Full Code Here

Examples of org.apache.airavata.gsi.ssh.listener.JobSubmissionListener.statusChanged()

                                    jobStatus = finalCluster.getJobStatus(jobID);
                                }
                                //Set the job status to Complete
                                listener.setJobStatus(JobStatus.C);
                                listener.statusChanged(jobStatus);
                                break;
                            }
                        } catch (InterruptedException e) {
                            log.error("Error listening to the submitted job", e);
                        } catch (SSHApiException e) {
View Full Code Here

Examples of org.openmim.mn.MessagingNetworkListener.statusChanged()

        {
          MessagingNetworkListener l = (MessagingNetworkListener) messagingNetworkListeners.elementAt(i);
          //src can be already logged off; no session
          //synchronized (getSessionLock(srcLoginId)) {
          if (Defines.DEBUG && CAT.isDebugEnabled()) CAT.debug("ICQ FIRES EVENT to core: statusChanged: src " + srcLoginId + " dst " + dstLoginId + ", status: "+StatusUtil.translateStatusMimToString(status_mim)+",\r\nreasonLogger: "+MessagingNetworkException.getLoggerMessage(reasonLogger)+",\r\nendUserMessage: "+StringUtil.toPrintableString(MessagingNetworkException.getEndUserReasonMessage(endUserReasonCode))+",\r\n listener: " + l);
          l.statusChanged(getNetworkId(), srcLoginId, dstLoginId, status_mim, reasonLogger, reasonMessage, endUserReasonCode);
          //}
        }
      }
      else
        if (Defines.DEBUG && CAT.isDebugEnabled()) CAT.debug("fireSttChg_Uncond: session is null, statusChange to "+StatusUtilMim.translateStatusMimToString(status_mim)+" ignored");
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.