saescript.idl

Go to the documentation of this file.
00001 #include "sae.idl"
00002 
00003 #pragma prefix "smgt.juniper.net"
00004 
00005 /*
00006  * script processing feature
00007  */
00008 module sae {
00010   exception ScriptSyntaxError {
00011     wstring message;
00012   };
00013 
00015   exception ScriptExecutionError {
00016     wstring message;
00017   };
00018 
00019   exception OperationFailed {
00020     wstring message;
00021   };
00022     
00024   typedef sequence<wstring> Arguments;
00025 
00026   interface ScriptProcessor: SAEFeature {
00040     void install(in string scriptName,
00041                  in wstring script,
00042                  in boolean force)
00043       raises (ScriptSyntaxError, OperationFailed);
00044 
00055     wstring execute(in string scriptName,
00056                     in Arguments args)
00057       raises (ScriptExecutionError, OperationFailed);
00058 
00073     wstring execOne(in string script,
00074                     in Arguments args)
00075       raises (ScriptSyntaxError, ScriptExecutionError, OperationFailed);
00076 
00083     void uninstall(in string scriptName)
00084       raises (OperationFailed);
00085 
00091     StringSeq listInstalledScripts();
00092   };
00093 };

Generated on Fri Sep 25 17:35:43 2015 for SAE API by  doxygen 1.4.7