(file) Return to handler.cpp CVS log (file) (dir) Up to [OMI] / omi / omiclient

 1 mike  1.1 /*
 2           **==============================================================================
 3           **
 4           ** Open Management Infrastructure (OMI)
 5           **
 6           ** Copyright (c) Microsoft Corporation
 7           ** 
 8           ** Licensed under the Apache License, Version 2.0 (the "License"); you may not 
 9           ** use this file except in compliance with the License. You may obtain a copy 
10           ** of the License at 
11           **
12           **     http://www.apache.org/licenses/LICENSE-2.0 
13           **
14           ** THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15           ** KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 
16           ** WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 
17           ** MERCHANTABLITY OR NON-INFRINGEMENT. 
18           **
19           ** See the Apache 2 License for the specific language governing permissions 
20           ** and limitations under the License.
21           **
22 mike  1.1 **==============================================================================
23           */
24           
25           #include "handler.h"
26           
27           MI_BEGIN_NAMESPACE
28           
29           Handler::~Handler() 
30           { 
31           }
32           
33           void Handler::HandleConnect()
34           {
35           }
36           
37           void Handler::HandleConnectFailed()
38           {
39           }
40           
41           void Handler::HandleDisconnect()
42           {
43 mike  1.1 }
44           
45 krisbash 1.3 void Handler::HandleNoOp(Uint64 operationId)
46 mike     1.1 {
47              }
48              
49 krisbash 1.3 void Handler::HandleInstance(Uint64 operationId, const DInstance& instance)
50 mike     1.1 {
51                  MI_UNUSED(instance);
52              }
53              
54 krisbash 1.3 void Handler::HandleResult(Uint64 operationId, MI_Result result)
55 mike     1.1 {
56                  MI_UNUSED(result);
57              }
58              
59 krisbash 1.3 /* If this version is not overridden then it calls into the original */
60              void Handler::HandleResult(Uint64 operationId, MI_Result result, const MI_Char *errorMessage, const DInstance* cimError)
61              {
62                  HandleResult(operationId, result);
63                  MI_UNUSED(errorMessage);
64                  MI_UNUSED(cimError);
65              }
66              
67 mike     1.1 MI_END_NAMESPACE

ViewCVS 0.9.2