hp.opencall.media.signalling
Class ISUPTPFactory

java.lang.Object
  extended byhp.opencall.media.signalling.TPFactory
      extended byhp.opencall.media.signalling.ISUPTPFactory

public class ISUPTPFactory
extends TPFactory

ISUPTPFactory is the ISUP Termination Point Factory for ISUP signalling and the TMC Card. Its contents are provisioned through the OCMP configuration tools. it maps (PC, CIC) tuples into TP pointing to the DS0 bearer channel. It provides a way to get H.100 TDM slots It provides a Trunk monitoring API (not implemented yet)


Method Summary
 void addTrunkEventListener(TrunkGroupEventListener aListener)
           
 CIC[] getCICs(java.lang.String aTrunkName)
           
static ISUPTPFactory getFactory()
          Get the singleton factory.
 TerminationPoint getTP(int aDPC, int aCIC)
          Get the Termination Point related to a (DPC,CIC) couple.
 
Methods inherited from class hp.opencall.media.signalling.TPFactory
toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getFactory

public static ISUPTPFactory getFactory()
Get the singleton factory.

Returns:
the ISUP Termination Point Factory


getTP

public TerminationPoint getTP(int aDPC,
                              int aCIC)
                       throws hp.opencall.media.common.ResourceNotAvailableException
Get the Termination Point related to a (DPC,CIC) couple.

Parameters:
aDPC - is the ISUP Destination Point Code
aCIC - is the ISUP Circuit Identification Code

Pre-conditions:
1. The DPC must have been configured.
2. The couple (DPC,CIC) must be associated to a TMC Card channel by configuration.

Throws:
hp.opencall.media.common.ResourceNotAvailableException - if the DPC/CIC is not configured

addTrunkEventListener

public void addTrunkEventListener(TrunkGroupEventListener aListener)
                           throws hp.opencall.media.common.ResourceNotAvailableException
Parameters:
aListener -
Throws:
hp.opencall.media.common.ResourceNotAvailableException

getCICs

public CIC[] getCICs(java.lang.String aTrunkName)