Project

General

Profile

Software Structure » History » Version 3

Shuo Chen, 03/26/2014 05:40 PM

1 1 Shuo Chen
Software Structure
2
==================
3
4 2 Shuo Chen
## Major Modules
5 1 Shuo Chen
6
* Database Handle: basic interfaces to handle database related operations including read, insert, update and delete. It also can operates on ndn packets according to selectors bound with interests. This module locates in storage-handle directory.
7
* Command Echo: Each echo module can handle interests or commands of different functions separately. Read is supported in read-echo, insert and insert progress check in write-echo and delete and delete progress check in delete-echo.
8 2 Shuo Chen
* Helpers: repo command parameter, response and repo TLV formats are defined here.
9
* Server: The process of starting a repo is defined here including reading configuration file, initiating database, registration of prefixes. It also contains main function of repo.
10
* Test: unit test
11
12
## Module Relation Graph
13
14 3 Shuo Chen
    --------------------------------
15
    |                              |
16
    |         Repo Server          |
17
    |                              |
18
    --------------------------------
19
                  ||
20
                  || contains
21
                  \/
22
    --------------------------------
23
    |                              |
24
    |  Interest and Command Echo   | 
25
    |  Read, Insert and Delete     |
26
    |                              |
27
    --------------------------------
28
                  ||
29
                  || uses 
30
                  \/ 
31
    --------------------------------
32
    |                              |
33
    |       Database Handle        |
34
    |                              |
35
    --------------------------------