Presentation is loading. Please wait.

Presentation is loading. Please wait.

RADE new features via JAVA

Similar presentations


Presentation on theme: "RADE new features via JAVA"— Presentation transcript:

1 RADE new features via JAVA
Vitaly Shaipov EN/ICE/MTA

2 RBAC tool Subscribing to the timing events
Controlling alarms by sending alarm events Providing any java code on the client side

3 RBAC based on java

4 Subscribing to the timing events
RBAC tool Subscribing to the timing events Controlling alarms by sending alarm events Providing any java code on the client side

5 Subscribing to the timing events

6 Controlling alarms by sending alarm events
RBAC tool Subscribing to the timing events Controlling alarms by sending alarm events Providing any java code on the client side

7 Controlling alarms by sending alarms events

8 Providing any java code on the client side
RBAC tool Subscribing to the timing events Controlling alarms by sending alarm events Providing any java code on the client side

9 Providing any java code on the client side

10 JAPC GET example

11 import cern. japc. AcquiredParameterValue; import cern. japc
import cern.japc.AcquiredParameterValue; import cern.japc.Parameter; import cern.japc.ParameterException; import cern.japc.Selector; import cern.japc.factory.ParameterFactory; import cern.japc.factory.ParameterValueFactory; public class JapcGet { private String japcGet(String url, String selector) throws Exception{ Parameter p; try { p = ParameterFactory.newInstance().newParameter(url); Selector sl = ParameterValueFactory.newSelector(selector); AcquiredParameterValue apv = p.getValue(sl); return apv.toString(); } catch (ParameterException e) { e.printStackTrace(); throw new Exception(); } } public static void main(String[] args) throws Exception{ String url = args[0]; String selector = args[1]; JapcGet japcGet = new JapcGet(); //printing output to the console System.out.println(japcGet.japcGet(url, selector)); } }

12 Questions ?


Download ppt "RADE new features via JAVA"

Similar presentations


Ads by Google