⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cimclient.java

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
                                             false);       }       if (ciEnumeration != 0)       {          return new ClassEnumeration (ciEnumeration);       }       else       {          return null;       }    }    public Enumeration enumerateClasses (CIMObjectPath path,                                         boolean       deepInheritance,                                         boolean       localOnly,                                         boolean       includeQualifiers,                                         boolean       includeClassOrigin)         throws CIMException    {       long ciEnumeration = 0;       if (cInst != 0)       {          ciEnumeration = _enumerateClasses (cInst,                                             cNsInst,                                             path.cInst (),                                             deepInheritance,                                             localOnly,                                             includeQualifiers,                                             includeClassOrigin);       }       if (ciEnumeration != 0)       {          return new ClassEnumeration (ciEnumeration);       }       else       {          return null;       }    }    public Enumeration enumClass (CIMObjectPath path,                                  boolean       deep)         throws CIMException    {       long ciEnumeration = 0;       if (cInst != 0)       {          ciEnumeration = _enumerateClassNames (cInst,                                                cNsInst,                                                path.cInst (),                                                deep);       }       if (ciEnumeration != 0)       {          return new PathEnumeration (ciEnumeration);       }       else       {          return null;       }    }    public Enumeration enumerateClassNames (CIMObjectPath path,                                            boolean       deep)         throws CIMException    {       return enumClass (path, deep);    }    public Enumeration enumInstances (CIMObjectPath path,                                      boolean       deep)         throws CIMException    {       long ciEnumeration = 0;       if (cInst != 0)       {          ciEnumeration = _enumerateInstanceNames (cInst,                                                   cNsInst,                                                   path.cInst (),                                                   deep);       }       if (ciEnumeration != 0)       {          return new PathEnumeration (ciEnumeration);       }       else       {          return null;       }    }    public Enumeration enumerateInstanceNames (CIMObjectPath path)         throws CIMException    {       return enumInstances (path, false);    }    public Enumeration enumInstances (CIMObjectPath path,                                      boolean       deep,                                      boolean       localOnly)         throws CIMException    {       return enumerateInstances (path,                                  deep,                                  localOnly,                                  true,                                  false,                                  (String[])null);    }    public Enumeration enumerateInstances (CIMObjectPath path,                                           boolean       deepInheritance,                                           boolean       localOnly,                                           boolean       includeQualifiers,                                           boolean       includeClassOrigin,                                           String        propertyList[])         throws CIMException    {       long ciEnumeration = 0;       if (cInst != 0)       {          ciEnumeration = _enumerateInstances (cInst,                                               cNsInst,                                               path.cInst (),                                               deepInheritance,                                               localOnly,                                               includeQualifiers,                                               includeClassOrigin,                                               propertyList);       }       if (ciEnumeration != 0)       {          return new InstEnumeration (ciEnumeration);       }       else       {          return null;       }    }    public CIMClass getClass (CIMObjectPath path,                              boolean       localOnly)         throws CIMException    {       return getClass (path, localOnly, true, false, (String[])null);    }    public CIMClass getClass (CIMObjectPath path,                              boolean       localOnly,                              boolean       includeQualifiers,                              boolean       includeClassOrigin,                              String        propertyList[])         throws CIMException    {       long ciClass = 0;       if (cInst != 0)       {          ciClass = _getClass (cInst,                               cNsInst,                               path.cInst (),                               localOnly,                               includeQualifiers,                               includeClassOrigin,                               propertyList);       }       if (ciClass != 0)       {          return new CIMClass (ciClass);       }       else       {          return null;       }    }    public CIMInstance getInstance (CIMObjectPath path,                                    boolean       localOnly)         throws CIMException    {       return getInstance (path, localOnly, true, false, (String[])null);    }    public CIMInstance getInstance (CIMObjectPath path,                                    boolean       localOnly,                                    boolean       includeQualifiers,                                    boolean       includeClassOrigin,                                    String        propertyList[])         throws CIMException    {       long ciInstance = 0;       if (cInst != 0)       {          ciInstance = _getInstance (cInst,                                     cNsInst,                                     path.cInst (),                                     localOnly,                                     includeQualifiers,                                     includeClassOrigin,                                     propertyList);       }       if (ciInstance != 0)       {          return new CIMInstance (ciInstance);       }       else       {          return null;       }    }    public CIMValue invokeMethod (CIMObjectPath path,                                  String        methodName,                                  Vector        inParams,                                  Vector        outParams)         throws CIMException    {       long ciValue = 0;       if (cInst != 0)       {          ciValue = _invokeMethod (cInst,                                   cNsInst,                                   path.cInst (),                                   methodName,                                   inParams,                                   outParams);       }       if (ciValue != 0)       {          return new CIMValue (ciValue);       }       else       {          return null;       }    }    public CIMValue invokeMethod (CIMObjectPath path,                                  String        methodName,                                  CIMArgument[] inParams,                                  CIMArgument[] outParams)         throws CIMException    {       long ciValue = 0;       if (cInst != 0)       {          ciValue = _invokeMethod24 (cInst,                                     cNsInst,                                     path.cInst (),                                     methodName,                                     inParams,                                     outParams);       }       if (ciValue != 0)       {          return new CIMValue (ciValue);       }       else       {          return null;       }    }    public Enumeration enumQualifierTypes (CIMObjectPath path)         throws CIMException    {       long ciEnumeration = 0;       if (cInst != 0)       {          ciEnumeration = _enumerateQualifiers (cInst,                                                cNsInst,                                                path.cInst ());       }       if (ciEnumeration != 0)       {          return new QualEnumeration (ciEnumeration);       }       else       {          return null;       }    }    public Enumeration enumerateQualifiers (CIMObjectPath path)         throws CIMException    {       long ciEnumeration = 0;       if (cInst != 0)       {          ciEnumeration = _enumerateQualifiers (cInst,                                                cNsInst,                                                path.cInst ());       }       if (ciEnumeration != 0)       {          return new QualEnumeration (ciEnumeration);       }       else       {          return null;       }    }    public void deleteQualifierType (CIMObjectPath path)         throws CIMException    {       if (cInst != 0)       {          _deleteQualifier (cInst, cNsInst, path.cInst ());       }    }    public void deleteQualifier (CIMObjectPath path)         throws CIMException    {       if (cInst != 0)       {          _deleteQualifier (cInst, cNsInst, path.cInst ());       }    }    public CIMQualifierType getQualifierType (CIMObjectPath path)         throws CIMException    {       long ciQualifier = 0;       if (cInst != 0)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -