O'Reilly logo

Practical VoIP Using VOCAL by Luan Dang, Cullen Jennings, David Kelly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required