This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
This is preliminary version of ResourceManager for NoTA H_IN release 3. |
| 2 |
|
| 3 |
dirs: |
| 4 |
service/ ResourceManager source files |
| 5 |
sample_an_sn/ Sample AN/SN, which uses ResourceManager service |
| 6 |
common/ common file for ResourceManager |
| 7 |
sis/ SIS file for ResourceManager SN/AN |
| 8 |
stub/ stub files created from SIS |
| 9 |
|
| 10 |
ResourceManager: |
| 11 |
'make' in service/ dir. |
| 12 |
'rmsvc' is created. |
| 13 |
The interactive commands are only for debug purpose. |
| 14 |
They are available only when the communication is quiet. Otherwise |
| 15 |
the internal data list will be broken easily because of the inconsistent |
| 16 |
simultaneous update. |
| 17 |
|
| 18 |
'rmsvc' usage: |
| 19 |
./rmsvc |
| 20 |
|
| 21 |
following commands are available. |
| 22 |
========================================= |
| 23 |
1: print service_list |
| 24 |
2: print eventreq_list |
| 25 |
8: initialize service_list |
| 26 |
9: clear eventreq_list |
| 27 |
x: exit |
| 28 |
[1-2, 8-9, x] > |
| 29 |
========================================= |
| 30 |
|
| 31 |
Sample AN/SN: |
| 32 |
'make' in sample_an_sn/ dir. |
| 33 |
'an' and 'sn' are created. |
| 34 |
|
| 35 |
'sn' usage: |
| 36 |
./sn <ontology name> <service name description> |
| 37 |
|
| 38 |
'an' usage: |
| 39 |
./an <ontology name> <service name description> |
| 40 |
./an -i (for interactive mode) |
| 41 |
|
| 42 |
following commands are available. |
| 43 |
========================================= |
| 44 |
1: ResolveService_req() |
| 45 |
2: NewEvent_req() |
| 46 |
3: ListOfServices_req() |
| 47 |
x: exit |
| 48 |
[1-3, x] > |
| 49 |
========================================= |
| 50 |
|
| 51 |
test programs |
| 52 |
execute './an_multi.sh' and './sn_multi.sh', or them reverse order. |
| 53 |
|
| 54 |
TODO: |
| 55 |
- security feature. |