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

📄 providerregistrationmanager.h

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻 H
📖 第 1 页 / 共 2 页
字号:
//%2006//////////////////////////////////////////////////////////////////////////// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;// IBM Corp.; EMC Corporation, The Open Group.// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;// EMC Corporation; VERITAS Software Corporation; The Open Group.// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;// EMC Corporation; Symantec Corporation; The Open Group.//// Permission is hereby granted, free of charge, to any person obtaining a copy// of this software and associated documentation files (the "Software"), to// deal in the Software without restriction, including without limitation the// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or// sell copies of the Software, and to permit persons to whom the Software is// furnished to do so, subject to the following conditions:// // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.////==============================================================================//// Author: Yi Zhou, Hewlett-Packard Company (yi_zhou@hp.com)//// Modified By: Carol Ann Krug Graves, Hewlett-Packard Company//                  (carolann_graves@hp.com)//              Karl Schopmeyer (k.schopmeyer@opengroup.org)//              Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)//              Adrian Schuur (schuur@de.ibm.com)////%////////////////////////////////////////////////////////////////////////////#ifndef Pegasus_ProviderRegistrationManager_h#define Pegasus_ProviderRegistrationManager_h#include <Pegasus/Common/Config.h>#include <Pegasus/Server/ProviderRegistrationManager/Linkage.h>#include <Pegasus/Common/String.h>#include <Pegasus/Common/MessageQueueService.h>#include <Pegasus/Repository/CIMRepository.h>#include <Pegasus/Provider/CIMInstanceProvider.h>#include <Pegasus/Common/ModuleController.h>#include <Pegasus/Common/CIMMessage.h>PEGASUS_NAMESPACE_BEGINstruct RegistrationTable;struct ClassNamespaceTable;/**   The name of the provider module name  property for provider capabilities    class and PG_Provider class*/static const CIMName _PROPERTY_PROVIDERMODULENAME =     CIMName ("ProviderModuleName");/**   The name of the Vendor property for PG_ProviderModule class*/static const CIMName _PROPERTY_VENDOR  = CIMName ("Vendor");/**   The name of the Version property for PG_ProviderModule class*/static const CIMName _PROPERTY_VERSION  = CIMName ("Version");/**   The name of the interface type property for PG_ProviderModule class*/static const CIMName _PROPERTY_INTERFACETYPE  = CIMName ("InterfaceType");/**   The name of the interface version property for PG_ProviderModule class*/static const CIMName _PROPERTY_INTERFACEVERSION  = CIMName ("InterfaceVersion");/**   The name of the location property for PG_ProviderModule class*/static const CIMName _PROPERTY_LOCATION  = CIMName ("Location");/**   The name of the CapabilitiesID property for provider capabilities class*/static const CIMName _PROPERTY_CAPABILITIESID = CIMName ("CapabilityID");/**   The name of the provider name  property for provider capabilities class*/static const CIMName _PROPERTY_PROVIDERNAME = CIMName ("ProviderName");/**   The name of the classname property for provider capabilities class*/static const CIMName _PROPERTY_CLASSNAME = CIMName ("ClassName");/**   The name of the Namespace property for provider capabilities class*/static const CIMName _PROPERTY_NAMESPACES = CIMName ("Namespaces");/**   The name of the provider type  property for provider capabilities class*/static const CIMName _PROPERTY_PROVIDERTYPE = CIMName ("ProviderType");/**   The name of the supported properties property for provider capabilities class*/static const CIMName _PROPERTY_SUPPORTEDPROPERTIES =     CIMName ("SupportedProperties");/**   The name of the supported methods property for provider capabilities class*/static const CIMName _PROPERTY_SUPPORTEDMETHODS = CIMName ("SupportedMethods");/**   The name of the Name property for PG_Provider class*/static const CIMName _PROPERTY_PROVIDER_NAME = CIMName ("Name");/**   The name of the Destinations property for PG_ConsumerCapabilities class*/static const CIMName _PROPERTY_INDICATIONDESTINATIONS = CIMName ("Destinations");/**   The name of the AutoStart property for PG_Provider class*/static const CIMName _PROPERTY_AUTOSTART = CIMName ("AutoStart");/**   Registered instance provider type*/static const Uint16 _INSTANCE_PROVIDER    = 2;/**   Registered association provider type*/static const Uint16 _ASSOCIATION_PROVIDER    = 3;/**   Registered indication provider type*/static const Uint16 _INDICATION_PROVIDER    = 4;/**   Registered method provider type*/static const Uint16 _METHOD_PROVIDER    = 5;/**   Registered method provider type*/static const Uint16 _INSTANCE_QUERY_PROVIDER    = 7;class PEGASUS_PRM_LINKAGE ProviderRegistrationManager{public:	//ProviderRegistrationManager(ServiceCIMOMHandle & cimom);	ProviderRegistrationManager(CIMRepository* repository);	virtual ~ProviderRegistrationManager(void);	Boolean lookupInstanceProvider(		const CIMNamespaceName & nameSpace, 		const CIMName & className,	    CIMInstance & provider, 		CIMInstance & providerModule,        Boolean is_assoc = false,	Boolean * has_no_query = NULL);	Boolean lookupMethodProvider(		const CIMNamespaceName & nameSpace, 		const CIMName & className, 	    const CIMName & method, 	    CIMInstance & provider, 		CIMInstance & providerModule); 	Boolean lookupAssociationProvider(		const CIMNamespaceName & nameSpace, 		const CIMName & assocClassName,        Array<CIMInstance>& provider,         Array<CIMInstance>& providerModule);	Boolean lookupIndicationConsumer(		const String & destinationPath,	    	CIMInstance & provider, 		CIMInstance & providerModule);	Boolean getIndicationProviders(		const CIMNamespaceName & nameSpace, 		const CIMName & className,		const CIMPropertyList & requiredProperties,		Array<CIMInstance> & provider,		Array<CIMInstance> & providerModule);         /**	    This function is called with an (CIMObjectPath ref) specifying a            instance of PG_ProviderModule, or instance of PG_Provider, or	    instance of PG_ProviderCapabilities, or instance of             PG_ConsumerCapabilities to be returned.            @param ref specifies the fully qualified object path of the 		   instance of interest.            @param includeQualifiers indicates whether the returned instance                    must include the qualifiers for the instance and properties.            @param includeClassOrigin indicates whether the returned instance 		   must include the class origin for each of the instance                    elements.            @param propertyList specifies the minimum set of properties                    required in instances returned by this operation.        */            	CIMInstance getInstance(		    const CIMObjectPath & ref,		    const Boolean includeQualifiers = false,		    const Boolean includeClassOrigin = false,		    const CIMPropertyList & propertyList = CIMPropertyList());

⌨️ 快捷键说明

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