| United States-English |
|
|
|
![]() |
hp OpenCall SS7 platform Application Developer's Guide: For Release 3.1 on Linux > Chapter 12 Using the ISUP API Using the Activity Object |
|
HP OpenCall SS7 ISUP provides a way to optimize HP OpenCall SS7 ISUP API calls through the ActivityObject. Implementing the ActivityObject takes advantage of the callback methods provided by this object. If you choose not to use the ActivityObject, the application must perform the following tasks.
If you choose to implement an ActivityObject the HP OpenCall SS7 ISUP API provides the application with following information:
You can derive an activity object mechanism for IsupSMProbe and IsupBPProbe objects. The aim of the mechanism must be to inform the probe object(s) that primitives are waiting to be received by the application. The mechanism must also inform the probe object(s) whether it is possible to send ISUP messages and primitives, and the status of the connection. An ActivityObject class is defined by IsupSMProbe and IsupBPProbe. These classes contain the following virtual methods: Table 12-1 Activity Methods
The application can derive its own ActivityObject classes from the provided parent class. You can then redefine the ActivityObject methods, using the same arguments. From the inbound path, the IsupSMProbe::recvActivity() and IsupBPProbe::recvActivity() methods must provide the number of primitives waiting to be received by a specific probe object.
From the outbound path, the IsupSMProbe::sendPossible() and IsupSMProbe::sendPossible() methods must indicate whether it is possible to send messages from a specific probe object to the network. The cnxStatus() must indicate the status of the connection with the SS7 stack, such as switchover or the connection has been closed. Example 12-4 Redefining the recvActivity() for an IsupSMProbe Object. // activity object inheriting from IsupSMProbe: definition and |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||