version 1.16, 2008/12/16 18:56:44
|
version 1.16.8.2, 2013/06/03 22:36:06
|
|
|
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
/** |
|
* Indication export connection interface for the handlers. |
|
*/ |
|
|
|
class PEGASUS_HANDLER_LINKAGE IndicationExportConnection |
|
{ |
|
public: |
|
IndicationExportConnection() { }; |
|
|
|
virtual ~IndicationExportConnection() { }; |
|
}; |
|
|
class PEGASUS_HANDLER_LINKAGE CIMHandler | class PEGASUS_HANDLER_LINKAGE CIMHandler |
{ | { |
public: | public: |
|
|
CIMInstance& indicationSubscriptionInstance, | CIMInstance& indicationSubscriptionInstance, |
ContentLanguageList& contentLanguages) = 0; | ContentLanguageList& contentLanguages) = 0; |
| |
|
// IndicationExportConnection object is returned if requested incase of |
|
// successful indication delivery. Connection object SHOULD not be |
|
// returned incase of delivery failure. |
|
virtual void handleIndication( |
|
const OperationContext& context, |
|
const String &nameSpace, |
|
CIMInstance& indicationInstance, |
|
CIMInstance& indicationHandlerInstance, |
|
CIMInstance& indicationSubscriptionInstance, |
|
ContentLanguageList& contentLanguages, |
|
IndicationExportConnection **connection) |
|
{ |
|
if (connection) |
|
{ |
|
*connection = 0; |
|
} |
|
handleIndication( |
|
context, |
|
nameSpace, |
|
indicationInstance, |
|
indicationHandlerInstance, |
|
indicationSubscriptionInstance, |
|
contentLanguages); |
|
} |
|
|
// These are the method to initialize and terminate handler. Actual need | // These are the method to initialize and terminate handler. Actual need |
// and implementation way these methods are yet to be finalized. | // and implementation way these methods are yet to be finalized. |
| |