(file) Return to CIMExportClient.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ExportClient

 1 martin 1.32 //%LICENSE////////////////////////////////////////////////////////////////
 2 martin 1.33 //
 3 martin 1.32 // Licensed to The Open Group (TOG) under one or more contributor license
 4             // agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
 5             // this work for additional information regarding copyright ownership.
 6             // Each contributor licenses this file to you under the OpenPegasus Open
 7             // Source License; you may not use this file except in compliance with the
 8             // License.
 9 martin 1.33 //
10 martin 1.32 // Permission is hereby granted, free of charge, to any person obtaining a
11             // copy of this software and associated documentation files (the "Software"),
12             // to deal in the Software without restriction, including without limitation
13             // the rights to use, copy, modify, merge, publish, distribute, sublicense,
14             // and/or sell copies of the Software, and to permit persons to whom the
15             // Software is furnished to do so, subject to the following conditions:
16 martin 1.33 //
17 martin 1.32 // The above copyright notice and this permission notice shall be included
18             // in all copies or substantial portions of the Software.
19 martin 1.33 //
20 martin 1.32 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21 martin 1.33 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 martin 1.32 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23             // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24             // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25             // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26             // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 martin 1.33 //
28 martin 1.32 //////////////////////////////////////////////////////////////////////////
29 mike   1.2  //
30             //%/////////////////////////////////////////////////////////////////////////////
31             
32 kumpf  1.14 #ifndef Pegasus_ExportClient_h
33             #define Pegasus_ExportClient_h
34 mike   1.2  
35 anusha.kandepu 1.34 #include <Pegasus/ExportClient/ExportClient.h>
36 mike           1.2  
37                     PEGASUS_NAMESPACE_BEGIN
38                     
39                     
40 kumpf          1.30 /**
41                         This class provides the interface that a client uses to communicate
42 mike           1.2      with a CIMOM.
43                     */
44 anusha.kandepu 1.34 class PEGASUS_EXPORT_CLIENT_LINKAGE CIMExportClient : public ExportClient
45 mike           1.2  {
46 kumpf          1.30 public:
47 mike           1.2  
48 kumpf          1.30     /**
49                             Constructor for a CIM Export Client object.
50                         */
51                         CIMExportClient(
52                             Monitor* monitor,
53                             HTTPConnector* httpConnector,
54                             Uint32 timeoutMilliseconds =
55                                 PEGASUS_DEFAULT_CLIENT_TIMEOUT_MILLISECONDS);
56                     
57                         // Destructor for a CIM Export Client object.
58                         ~CIMExportClient();
59                     
60                         virtual void exportIndication(
61                             const String& url,
62                             const CIMInstance& instance,
63                             const ContentLanguageList& contentLanguages = ContentLanguageList());
64                     
65                     private:
66                     
67                     
68                         Message* _doRequest(
69 kumpf          1.30         CIMRequestMessage* request,
70 kumpf          1.31         MessageType expectedResponseMessageType);
71 kumpf          1.30 
72                         /**
73                             The CIMExportClient uses a lazy reconnect algorithm.  A reconnection
74                             is necessary when the server (listener) sends a Connection: Close
75                             header in the HTTP response or when a connection timeout occurs
76                             while waiting for a response.  In these cases, a disconnect is
77                             performed immediately and the _doReconnect flag is set.  The
78                             connection is re-established only when required to perform another
79                             operation.  Note that in the case of a connection timeout, the
80                             challenge status must be reset in the ClientAuthenticator to allow
81                             authentication to be performed properly on the new connection.
82                         */
83 mike           1.2  };
84                     
85                     PEGASUS_NAMESPACE_END
86                     
87 kumpf          1.14 #endif /* Pegasus_ExportClient_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2