Network Manager

The Network Manager is responsible for monitoring the status of the processes within the VOCAL system.

Figure 17-3 shows a block diagram of the Network Manager.

Network Manager block diagram

Figure 17-3. Network Manager block diagram

Threads

The Network Manager application has five different tasks that run as separate threads, represented as boxes in Figure 17-3. These threads interact with one another for data and perform different functions. These processes include:

System Configuration Thread

The netMgmtAgent’s main management is derived from the agentAPI, which receives the traps from the SNMPTRAPd and forwards them to the System Configuration thread. This thread is a table that contains a database of system configuration, a list of all entities on the network, and the status of all network entities. This thread also sends responses to the GUI on demand.

netMgntAgent

This thread processes the incoming trap messages: it receives the interprocess communication (IPC) message and the network address of the sender as the input arguments and processes them. This thread checks whether the message type is a trap. If it is a trap, the thread passes the hostport, servertype, and status to the system configuration object, which in turn processes the trap. This thread continues running and waits for any trap messages.

UiThread

The UiThread’s main purpose is to receive connection requests from the graphical ...

Get Practical VoIP Using VOCAL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.