version 1.9, 2002/08/29 00:27:52
|
version 1.10, 2003/04/24 20:42:22
|
|
|
// Modified By: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com) | // Modified By: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com) |
// | // |
// Nag Boranna, Hewlett-Packard Company (nagaraja_boranna@hp.com) | // Nag Boranna, Hewlett-Packard Company (nagaraja_boranna@hp.com) |
|
// Yi Zhou, Hewlett-Packard Company (yi_zhou@hp.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
| |
#include <fstream> | #include <fstream> |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/MessageQueueService.h> |
#include <Pegasus/Common/MessageQueue.h> |
#include <Pegasus/Common/CIMMessage.h> | #include <Pegasus/Common/CIMMessage.h> |
#include <Pegasus/Client/ClientAuthenticator.h> | #include <Pegasus/Client/ClientAuthenticator.h> |
#include <Pegasus/ExportClient/Linkage.h> | #include <Pegasus/ExportClient/Linkage.h> |
|
|
and encodes them into HTTP messages which it places on its output queue. | and encodes them into HTTP messages which it places on its output queue. |
*/ | */ |
class PEGASUS_EXPORT_CLIENT_LINKAGE CIMExportRequestEncoder | class PEGASUS_EXPORT_CLIENT_LINKAGE CIMExportRequestEncoder |
: public MessageQueueService |
: public MessageQueue |
{ | { |
public: | public: |
typedef MessageQueueService Base; |
|
|
|
/** Constuctor. | /** Constuctor. |
@param outputQueue queue to receive encoded HTTP messages. | @param outputQueue queue to receive encoded HTTP messages. |
|
@param authenticator client authenticator. |
*/ | */ |
CIMExportRequestEncoder( | CIMExportRequestEncoder( |
MessageQueue* outputQueue, ClientAuthenticator* authenticator); | MessageQueue* outputQueue, ClientAuthenticator* authenticator); |
|
|
~CIMExportRequestEncoder(); | ~CIMExportRequestEncoder(); |
| |
/** This method is called when a message is enqueued on this queue. */ | /** This method is called when a message is enqueued on this queue. */ |
virtual void handleEnqueue(Message *); |
|
virtual void handleEnqueue(); | virtual void handleEnqueue(); |
| |
private: | private: |