(file) Return to CimomMessage.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / _cimom

 1 mike  1.2 //%///-*-c++-*-/////////////////////////////////////////////////////////////////
 2           //
 3           // Copyright (c) 2000, 2001 BMC Software, Hewlett-Packard Company, IBM,
 4           // The Open Group, Tivoli Systems
 5           //
 6           // Permission is hereby granted, free of charge, to any person obtaining a copy
 7           // of this software and associated documentation files (the "Software"), to 
 8           // deal in the Software without restriction, including without limitation the 
 9           // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 
10           // sell copies of the Software, and to permit persons to whom the Software is
11           // furnished to do so, subject to the following conditions:
12           // 
13           // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN 
14           // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
15           // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
16           // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR 
17           // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 
18           // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 
19           // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20           // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21           //
22 mike  1.2 //==============================================================================
23           //
24           // Author: Mike Day (mdday@us.ibm.com)
25           //
26           // Modified By: 
27           //
28           //%/////////////////////////////////////////////////////////////////////////////
29           
30           #include "CimomMessage.h"
31           
32           PEGASUS_NAMESPACE_BEGIN
33           
34 mike  1.6 const Uint32 CIMOM_Q_ID = MessageQueue::getNextQueueId();
35           
36 mday  1.3 const Uint32 cimom_results::OK =                        0x00000000;
37           const Uint32 cimom_results::PARAMETER_ERROR =           0x00000001;
38           const Uint32 cimom_results::MODULE_ALREADY_REGISTERED = 0x00000002;
39           const Uint32 cimom_results::MODULE_NOT_FOUND =          0x00000003;
40           const Uint32 cimom_results::INTERNAL_ERROR =            0x00000004;
41           
42           
43           const Uint32 cimom_results::ASYNC_STARTED =             0x00000005;
44           const Uint32 cimom_results::ASYNC_PROCESSING =          0x00000006;
45           const Uint32 cimom_results::ASYNC_COMPLETE =            0x00000007;
46           const Uint32 cimom_results::ASYNC_CANCELLED =           0x00000008;
47           const Uint32 cimom_results::ASYNC_PAUSED =              0x00000009;
48           const Uint32 cimom_results::ASYNC_RESUMED =             0x0000000a;
49           
50 mday  1.5 const Uint32 cimom_results::CIM_SERVICE_STARTED =       0x0000000b;
51           const Uint32 cimom_results::CIM_SERVICE_STOPPED  =      0x0000000c;
52 mike  1.4 
53 mday  1.5 const Uint32 cimom_results::CIM_SERVICE_PAUSED  =       0x0000000d;
54           const Uint32 cimom_results::CIM_SERVICE_RESUMED =       0x0000000e;
55           const Uint32 cimom_results::CIM_NAK =                   0x0000000f;
56 mday  1.3       
57           
58           // messages handled by the cimom
59           
60           const Uint32 cimom_messages::HEARTBEAT =                0x00000000;
61 mday  1.5 const Uint32 cimom_messages::REGISTER_CIM_SERVICE =     0x00000001;
62           const Uint32 cimom_messages::DEREGISTER_CIM_SERVICE =   0x00000002;
63           const Uint32 cimom_messages::UPDATE_CIM_SERVICE =       0x00000003;
64 mday  1.3 const Uint32 cimom_messages::IOCTL =                    0x00000004;
65           const Uint32 cimom_messages::ASYNC_OP_REPLY =           0x00000005;
66           
67           // messages handled by services (modules)
68           
69            
70           const Uint32 service_messages::HEARTBEAT =              0x00000000;
71           const Uint32 service_messages::START =                  0x00000000;
72           const Uint32 service_messages::STOP =                   0x00000000;
73           const Uint32 service_messages::PAUSE =                  0x00000000;
74           const Uint32 service_messages::RESUME =                 0x00000000;
75           const Uint32 service_messages::IOCTL =                  0x00000000;
76           const Uint32 service_messages::ASYNC_OP_START =         0x00000000;
77           const Uint32 service_messages::ASYNC_OP_CANCEL =        0x00000000;
78           const Uint32 service_messages::ASYNC_OP_PAUSE =         0x00000000;
79           const Uint32 service_messages::ASYNC_OP_RESUME =        0x00000000;
80           
81 mike  1.2 
82           
83           PEGASUS_NAMESPACE_END

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2