0
|
1 |
|
|
2 |
-- Adding Services to the UCCS --
|
|
3 |
|
|
4 |
1. The rest assumes you have written some client class for the service. This client can have
|
|
5 |
any arbitrary interface.
|
|
6 |
|
|
7 |
2. Create a subdirectory and put all your service files in there.
|
|
8 |
|
|
9 |
3. Add the rpcgen files, etc.
|
|
10 |
|
|
11 |
4. Check that everything compiles and that you don't need to add libraries, include paths, etc.
|
|
12 |
|
|
13 |
5. Create a new object to be the service interface object. This must inherit and implement
|
|
14 |
the IService interface.
|
|
15 |
|
|
16 |
6. Implement this class -- use existing classes as a guide.
|
|
17 |
|
|
18 |
7. Add a new RPC Service ID.
|
|
19 |
|
|
20 |
8. Add to the service table.
|
|
21 |
|
|
22 |
9. Add startup / shutdown code to the service manager for this service. |