1 mday 1.1.2.1 //%///////////-*-c++-*-/////////////////////////////////////////////////////////
2 //
3 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,
4 // The Open Group, Tivoli Systems
5 //
6 // Copyright (c) 2003 Hewlett-Packard Company, IBM,The Open Group
7 //
8 // Permission is hereby granted, free of charge, to any person obtaining a copy
9 // of this software and associated documentation files (the "Software"), to
10 // deal in the Software without restriction, including without limitation the
11 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
12 // sell copies of the Software, and to permit persons to whom the Software is
13 // furnished to do so, subject to the following conditions:
14 //
15 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
16 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
17 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
18 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
19 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 mday 1.1.2.1 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 //
24 //==============================================================================
25 //
26 // Author: Mike Day (mdday@us.ibm.com)
27 //
28 // Modified By:
29 //
30 //%////////////////////////////////////////////////////////////////////////////
31
32
33 #ifndef Pegasus_reg_table_h
34 #define Pegasus_reg_table_h
35
36
37 #include <Pegasus/Common/Config.h>
38 #include <Pegasus/Common/IPC.h>
39 #include <Pegasus/Common/String.h>
40 #include <Pegasus/Common/ArrayInter.h>
41 #include <Pegasus/Common/HashTable.h>
42 #include <Pegasus/Common/System.h>
43 mday 1.1.2.1 #include <Pegasus/Common/CIMName.h>
44 #include <Pegasus/Common/MessageQueueService.h>
45 #include <Pegasus/Server/Linkage.h>
46
47 PEGASUS_NAMESPACE_BEGIN
48
49
50
51
52 class reg_table_rep;
53
54 class PEGASUS_SERVER_LINKAGE DynamicRoutingTable
55 {
56 public:
57 DynamicRoutingTable(void);
58 ~DynamicRoutingTable(void);
59
60 static const DynamicRoutingTable * get_table(void) ;
61
62 MessageQueueService *GetRouting(const CIMName & classname,
63 const CIMNamespaceName & ns,
64 mday 1.1.2.1 Uint32 type,
65 const Array<Uint8> & extended_type,
66 Uint32 flags,
67 const Array<Uint8> & extended_flags);
68
69 void GetRouting(const CIMName & classname,
70 const CIMNamespaceName & ns,
71 Uint32 type,
72 const Array<Uint8> & extended_type,
73 Uint32 flags,
74 const Array<Uint8> & extended_flags,
75 Array<const MessageQueueService *> & results);
76
77 private:
78 reg_table_rep *_rep;
79 };
80
81
82
83
84
85 mday 1.1.2.1 PEGASUS_NAMESPACE_END
86 #endif // Pegasus_reg_table_h
|