/var/tmp/tog-pegasus-2.9.0-8m.mo8/pegasus/src/Pegasus/Provider/CIMIndicationProvider.h
00001 //%LICENSE////////////////////////////////////////////////////////////////
00002 //
00003 // Licensed to The Open Group (TOG) under one or more contributor license
00004 // agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
00005 // this work for additional information regarding copyright ownership.
00006 // Each contributor licenses this file to you under the OpenPegasus Open
00007 // Source License; you may not use this file except in compliance with the
00008 // License.
00009 //
00010 // Permission is hereby granted, free of charge, to any person obtaining a
00011 // copy of this software and associated documentation files (the "Software"),
00012 // to deal in the Software without restriction, including without limitation
00013 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
00014 // and/or sell copies of the Software, and to permit persons to whom the
00015 // Software is furnished to do so, subject to the following conditions:
00016 //
00017 // The above copyright notice and this permission notice shall be included
00018 // in all copies or substantial portions of the Software.
00019 //
00020 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00021 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00022 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00023 // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
00024 // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
00025 // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
00026 // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00027 //
00029 //
00030 //%/////////////////////////////////////////////////////////////////////////////
00031 
00032 #ifndef Pegasus_CIMIndicationProvider_h
00033 #define Pegasus_CIMIndicationProvider_h
00034 
00035 #include <Pegasus/Common/Config.h>
00036 #include <Pegasus/Provider/CIMProvider.h>
00037 
00038 #include <Pegasus/Common/Array.h>
00039 #include <Pegasus/Common/CIMObjectPath.h>
00040 #include <Pegasus/Common/CIMDateTime.h>
00041 #include <Pegasus/Common/CIMIndication.h>
00042 #include <Pegasus/Provider/Linkage.h>
00043 
00044 PEGASUS_NAMESPACE_BEGIN
00045 
00052 class PEGASUS_PROVIDER_LINKAGE CIMIndicationProvider :
00053     public virtual CIMProvider
00054 {
00055 public:
00059     CIMIndicationProvider();
00060 
00064     virtual ~CIMIndicationProvider();
00065 
00102     virtual void enableIndications(IndicationResponseHandler & handler) = 0;
00103 
00116     virtual void disableIndications() = 0;
00117 
00183     virtual void createSubscription(
00184         const OperationContext & context,
00185         const CIMObjectPath & subscriptionName,
00186         const Array<CIMObjectPath> & classNames,
00187         const CIMPropertyList & propertyList,
00188         const Uint16 repeatNotificationPolicy) = 0;
00189 
00232     virtual void modifySubscription(
00233         const OperationContext & context,
00234         const CIMObjectPath & subscriptionName,
00235         const Array<CIMObjectPath> & classNames,
00236         const CIMPropertyList & propertyList,
00237         const Uint16 repeatNotificationPolicy) = 0;
00238 
00260     virtual void deleteSubscription(
00261         const OperationContext & context,
00262         const CIMObjectPath & subscriptionName,
00263         const Array<CIMObjectPath> & classNames) = 0;
00264 };
00265 
00266 PEGASUS_NAMESPACE_END
00267 
00268 #endif