Package edu.indiana.extreme.xbaya.monitor

Examples of edu.indiana.extreme.xbaya.monitor.Monitor


        WorkflowCreator creator = new WorkflowCreator();
        Workflow workflow = creator.createComplexMathWorkflow();
        WorkflowClient.createScript(workflow);

        Monitor monitor;
        if (this.gui) {
            this.engine = new XBayaEngine(this.configuration);
            this.graphCanvas = this.engine.getGUI().getGraphCanvas();
            this.graphCanvas.setWorkflow(workflow);
            monitor = this.engine.getMonitor();
            this.engine.getGUI().eventReceived(new Event(Type.MONITOR_STARTED));
            repaintAndWait(2);
        } else {
            MonitorConfiguration monitorConfiguration = new MonitorConfiguration(
                    this.configuration.getBrokerURL(), this.configuration
                            .getTopic(), this.configuration.isPullMode(),
                    this.configuration.getMessageBoxURL());
            monitor = new Monitor(monitorConfiguration);
        }

        MonitorEventData eventData = monitor.getEventData();
        MonitorCallback callback = new MonitorCallback(eventData);
        LoopbackPublisher publisher = new LoopbackPublisher(callback,
                this.configuration.getTopic());
        MonitorNotifier notifier = new MonitorNotifier(publisher);
View Full Code Here


     * @param rate
     * @param redeploy
     * @param workflow
     */
    private void runInThread(URI url, URI id, Rate rate) {
        Monitor monitor = this.engine.getMonitor();
        try {
            monitor.startKarma(url, id, rate);
            this.connectingDialog.hide();
        } catch (RuntimeException e) {
            if (this.canceled) {
                logger.caught(e);
            } else {               
View Full Code Here

    public MonitorMenu(XBayaEngine engine) {
        this.engine = engine;
        this.gui = engine.getGUI();
        this.monitorMenu = createMonitorMenu();

        Monitor monitor = this.engine.getMonitor();
        monitor.addEventListener(this);
        monitor.getConfiguration().addEventListener(this);
    }
View Full Code Here

    // Creates some essential objects.

    MonitorConfiguration monitorConfiguration = new MonitorConfiguration(
        configuration.getBrokerURL(), configuration.getTopic(),
        configuration.isPullMode(), configuration.getMessageBoxURL());
    this.monitor = new Monitor(monitorConfiguration);

    // MyProxy
    this.myProxyClient = new MyProxyClient(this.configuration
        .getMyProxyServer(), this.configuration.getMyProxyPort(),
        this.configuration.getMyProxyUsername(), this.configuration
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.xbaya.monitor.Monitor

Copyright © 2018 www.massapicom. 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.