|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecthp.opencall.media.signalling.PCCircuitManager
PCCircuitManager is the Point Code Circuit Manager.
This circuit manager update the circuit states thanks to the connection
provider that calls the setState method.
Its embedded data base allows to supply
an available circuit when the connection provider need to establish an outgoing
call.
The circuit allocation algorithm is provisioned with the OCMP configuration tools.
| Field Summary | |
static int |
REFUSAL_BY_BLOCKING_CIRCUITS
|
static int |
REFUSAL_BY_REJECTING_CALLS
|
| Constructor Summary | |
PCCircuitManager()
|
|
| Method Summary | |
static void |
blockAllCircuits(long lpc,
ISUPExternalCnxProvider aCnx)
|
static long |
getOutgoingCircuit(long dpc)
get a free circuit to establish an outgoing call. |
static long |
getOutgoingCircuit(long dpc,
int cic)
get a specific free circuit to establish an outgoing call. |
static int |
getShutdownCallRefusalMechanisms()
|
static boolean |
hasOngoingCalls()
|
static void |
releaseAllBusyCircuits(long lpc,
ISUPExternalCnxProvider aCnx)
|
static void |
releaseAllCircuits(long lpc,
ISUPExternalCnxProvider aCnx)
|
static void |
setState(long dpc,
int cic,
hp.opencall.media.tdm.CircuitState aCircuitState)
Set the state of circuit. |
static void |
unblockAllBlockedCircuits(long lpc,
ISUPExternalCnxProvider aCnx)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int REFUSAL_BY_REJECTING_CALLS
public static final int REFUSAL_BY_BLOCKING_CIRCUITS
| Constructor Detail |
public PCCircuitManager()
| Method Detail |
public static void setState(long dpc,
int cic,
hp.opencall.media.tdm.CircuitState aCircuitState)
throws hp.opencall.media.common.ResourceNotAvailableException
cic - specifies the Circuit Identifier CodeaCircuitState - specifies the new circuit state
hp.opencall.media.common.ResourceNotAvailableException - if the circuit is unknown
public static long getOutgoingCircuit(long dpc)
throws hp.opencall.media.common.ResourceNotAvailableException
dpc - is the Destination Point Code to reach
hp.opencall.media.common.ResourceNotAvailableException - if no circuit match for the request
public static long getOutgoingCircuit(long dpc,
int cic)
throws hp.opencall.media.common.ResourceNotAvailableException
dpc - is the Destination Point Code to reachcic - is the Circuit Identifier Code required
hp.opencall.media.common.ResourceNotAvailableException - if the circuit does not match for the requestpublic static boolean hasOngoingCalls()
public static int getShutdownCallRefusalMechanisms()
public static void releaseAllBusyCircuits(long lpc,
ISUPExternalCnxProvider aCnx)
public static void releaseAllCircuits(long lpc,
ISUPExternalCnxProvider aCnx)
public static void blockAllCircuits(long lpc,
ISUPExternalCnxProvider aCnx)
public static void unblockAllBlockedCircuits(long lpc,
ISUPExternalCnxProvider aCnx)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||