version 1.17, 2003/10/22 14:26:04
|
version 1.18, 2003/10/27 19:48:06
|
|
|
public: | public: |
| |
/** | /** |
Destructor. |
ResponseHandler destructor. |
*/ | */ |
virtual ~ResponseHandler(void); | virtual ~ResponseHandler(void); |
| |
|
|
//virtual void deliver(const Array<T> & objects); | //virtual void deliver(const Array<T> & objects); |
| |
/** | /** |
Inform the CIM Server that delivery of results will begin. |
Inform the CIM server that delivery of results will begin. |
<p>The provider must call <tt>processing</tt> before | <p>The provider must call <tt>processing</tt> before |
attempting to call <tt>deliver</tt>. | attempting to call <tt>deliver</tt>. |
*/ | */ |
virtual void processing(void) = 0; | virtual void processing(void) = 0; |
| |
/** | /** |
Inform the CIM Server that delivery of results is complete. |
Inform the CIM server that delivery of results is complete. |
<p>The provider must call <tt>complete</tt> when all | <p>The provider must call <tt>complete</tt> when all |
results have been delivered. It must not call <tt>deliver</tt> |
results have been delivered. The provider must not call <tt>deliver</tt> |
after calling <tt>complete</tt>.</p> | after calling <tt>complete</tt>.</p> |
*/ | */ |
virtual void complete(void) = 0; | virtual void complete(void) = 0; |
|
|
| |
ResponseHandler& operator=(const ResponseHandler& handler); | ResponseHandler& operator=(const ResponseHandler& handler); |
| |
// |
/** |
// Gets the context for the results delivered to the CIM Server. |
Gets the context for the results delivered to the CIM server. |
// |
*/ |
OperationContext getContext(void) const; | OperationContext getContext(void) const; |
}; | }; |
| |
| |
// |
/** |
// InstanceResponseHandler |
The InstanceResponseHandler class is a subclass to the ResponseHandler class. |
/// |
The InstanceResponseHandler class contains functions that are specific to an |
|
instance of the ResponseHandler class. |
|
*/ |
class PEGASUS_COMMON_LINKAGE InstanceResponseHandler : virtual public ResponseHandler | class PEGASUS_COMMON_LINKAGE InstanceResponseHandler : virtual public ResponseHandler |
{ | { |
public: | public: |
|
|
}; | }; |
| |
| |
// |
/** |
// MethodResultResponseHandler |
The MethodResultResponseHandler class is a subclass to the ResponseHandler class. |
/// |
*/ |
class PEGASUS_COMMON_LINKAGE MethodResultResponseHandler : virtual public ResponseHandler | class PEGASUS_COMMON_LINKAGE MethodResultResponseHandler : virtual public ResponseHandler |
{ | { |
public: | public: |
/// |
/** |
|
Add documentation here. |
|
*/ |
virtual void deliverParamValue(const CIMParamValue & outParamValue) = 0; | virtual void deliverParamValue(const CIMParamValue & outParamValue) = 0; |
| |
/// |
/** |
|
Add documentation here. |
|
*/ |
virtual void deliverParamValue(const Array<CIMParamValue> & outParamValues) = 0; | virtual void deliverParamValue(const Array<CIMParamValue> & outParamValues) = 0; |
| |
/// |
/** |
|
Add documentation here. |
|
*/ |
virtual void deliver(const CIMValue & returnValue) = 0; | virtual void deliver(const CIMValue & returnValue) = 0; |
}; | }; |
| |
| |
// |
/** |
// IndicationResponseHandler |
The IndicationResponseHandler class is a subclass to the ResponseHandler class. |
// |
<p> NOTE: This class definition should not be considered complete until indication |
// NOTE: This class definition should not be considered complete until |
support has been completed in Pegasus. Implementation of indication support may |
// indication support has been completed in Pegasus. Implementation of |
reveal a need for API changes in this class.</p> |
// indication support may reveal a need for API changes in this class. |
*/ |
class PEGASUS_COMMON_LINKAGE IndicationResponseHandler : virtual public ResponseHandler | class PEGASUS_COMMON_LINKAGE IndicationResponseHandler : virtual public ResponseHandler |
{ | { |
public: | public: |
|
/** |
|
Add documentation here. |
|
*/ |
virtual void deliver(const CIMIndication & indication) = 0; | virtual void deliver(const CIMIndication & indication) = 0; |
| |
|
/** |
|
Add documentation here. |
|
*/ |
virtual void deliver(const Array<CIMIndication> & indications) = 0; | virtual void deliver(const Array<CIMIndication> & indications) = 0; |
| |
|
/** |
|
Add documentation here. |
|
*/ |
virtual void deliver( | virtual void deliver( |
const OperationContext & context, | const OperationContext & context, |
const CIMIndication & indication) = 0; | const CIMIndication & indication) = 0; |
| |
|
/** |
|
Add documentation here. |
|
*/ |
virtual void deliver( | virtual void deliver( |
const OperationContext & context, | const OperationContext & context, |
const Array<CIMIndication> & indications) = 0; | const Array<CIMIndication> & indications) = 0; |