119120121122123124125
KarmaClient karma = new KarmaClient(this, kermaURL, workflowInstanceID, rate); karma.start(); // Enable/disable some menu items and show the monitor panel. sendSafeEvent(new Event(Type.KARMA_STARTED)); }
195196197198199200201
private void subscribe() throws MonitorException { this.wsmgClient = new WsmgClient(this); this.wsmgClient.subscribe(); // Enable/disable some menu items and show the monitor panel. sendSafeEvent(new Event(Type.MONITOR_STARTED)); }
200201202203204205206207208
sendSafeEvent(new Event(Type.MONITOR_STARTED)); } private void unsubscribe(WsmgClient client) throws MonitorException { // Enable/disable some menu items. sendSafeEvent(new Event(Type.MONITOR_STOPED)); client.unsubscribe(); }
56575859606162
URI messageBoxURL) { this.brokerURL = brokerURL; this.topic = topic; this.pullMode = pullMode; this.messageBoxURL = messageBoxURL; sendSafeEvent(new Event(Type.MONITOR_CONFIGURATION_CHANGED)); }
65666768697071
* @param brokerURL * The brokerLocation to set. */ public void setBrokerURL(URI brokerURL) { this.brokerURL = brokerURL; sendSafeEvent(new Event(Type.MONITOR_CONFIGURATION_CHANGED)); }
83848586878889
* @param topic * The topic to set */ public void setTopic(String topic) { this.topic = StringUtil.trimAndNullify(topic); sendSafeEvent(new Event(Type.MONITOR_CONFIGURATION_CHANGED)); }
110111112113114115116
* @param messageBoxURL * The messageBoxUrl to set. */ public void setMessageBoxURL(URI messageBoxURL) { this.messageBoxURL = messageBoxURL; sendSafeEvent(new Event(Type.MONITOR_CONFIGURATION_CHANGED)); }
130131132133134135136
* @param pullMode * The pullMode to set. */ public void setPullMode(boolean pullMode) { this.pullMode = pullMode; sendSafeEvent(new Event(Type.MONITOR_CONFIGURATION_CHANGED)); }
9596979899100101
/** * Constructs a WorkflowProxyClient. */ public WorkflowProxyClient() { // Nothing sendSafeEvent(new Event(Event.Type.GPEL_ENGINE_CONNECTED)); }
129130131132133134135136
* @param engineURL * @throws WorkflowProxyException */ public void setEngineURL(URI engineURL) throws WorkflowEngineException { super.setEngineURL(engineURL); sendSafeEvent(new Event(Event.Type.GPEL_ENGINE_CONNECTED)); // connect(); }