The following threads comprise tupdemo:
|
Thread |
Description |
|
Main |
Parses command line arguments, initializes global data, and starts all other threads. |
|
User |
Accepts input from the keyboard and parses the input. Depending upon the command entered by the user, this results in an event to a circuit thread or a call to SS7 TUP. |
|
Test |
Receives events regarding a test call from a circuit thread. This results in a printed message indicating the type of event that was received. |
|
UDP |
Receives checkpoint messages from the mate application that result in checkpoint events generated to circuit threads. It also receives the application ready message from the mate application, resulting in an application ready event sent to the TUP thread. |
|
HMI |
Receives Natural Access events from the Health Management service and translates these events into internal events passed to the TUP thread. |
|
TUP |
Receives Natural Access events from SS7 TUP and translates these events into internal events routed to the appropriate incoming, outgoing, and test threads. |
|
Incoming circuit |
Receives events from the TUP thread and exchanges events with its mate outgoing thread. |
|
Outgoing circuit |
Receives events from the TUP thread and exchanges events with its mate incoming thread. |
The following illustration shows the inter-thread communications in
the TUP demonstration program: