|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface need to be implemented by the signalling connection provider. Its methods are used by the platform on behalf of the application (oclet) to create both outgoing and incoming calls.
In case of incoming calls, the connection provider must notify the CallDispatcher thanks to a CallSpec. It is then the responsibility of the OCMP Framework to get the connection through the CnxProviderIF.
Several other methods are supplied for the connection provider management.
| Method Summary | |
void |
acceptCalls()
Called by the OCMP framework to ask the connection provider to accept future calls. |
void |
exit()
The OCMP framework calls this method in order to exit the connection provider. |
ConnectionIF |
getConnection(hp.opencall.media.ccapi.CallSpec aCallSpec)
Get a Signalling ConnectionIF object given a call spec. |
void |
gracefulShutdown(long waitTime,
long lpc)
Called by the OCMP framework to ask the connection provider to do a graceful Shutdown |
void |
immediateShutdown(long lpc)
Called by the OCMP framework to ask the connection provider to do an immediate Shutdown |
void |
refuseCalls()
Called by the OCMP framework to ask the connection provider to refuse any future call. |
void |
supportCallSpec(java.lang.Class aCallSpe)
To inform that given call spec is supported by the OCMP framework . |
| Method Detail |
public ConnectionIF getConnection(hp.opencall.media.ccapi.CallSpec aCallSpec)
throws hp.opencall.media.common.AccessControlException
In case of inbound calls, the CallSpec has been previously supplied to the OCMP framework thanks to the CallDispatcher. The call Session has been created and needs the ConnectionIF object to manage the call signalling.
In case of outgoing calls, the OCMP framework needs a ConnectionIF object related to a new CallSpec. The call control will then be done from the returned ConnectionIF.
aCallSpec - specifies the call setup parameters
hp.opencall.media.common.AccessControlException - in case of internal connection provider problem
public void supportCallSpec(java.lang.Class aCallSpe)
throws hp.opencall.media.common.AccessControlException
hp.opencall.media.common.AccessControlExceptionpublic void acceptCalls()
public void refuseCalls()
public void immediateShutdown(long lpc)
public void gracefulShutdown(long waitTime,
long lpc)
public void exit()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||