|
JAINTM MGCP API (DRAFT FOR PUBLIC REVIEW) - Version 0.9 - 16 NOVEMBER 2000 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
This interface must be implemented by any class that represents the JAIN MGCP abstraction of an MGCP stack and that interacts directly with a proprietary (vendor-specific) implementation of that MGCP stack.
| Method Summary | |
void |
addJainMgcpListener(JainMgcpListener jainMgcpListener)
Adds a JAIN MGCP Listener to the list of Event Listeners registered on an implementation of the JainMgcpProvider interface. |
JainMgcpStack |
getJainMgcpStack()
Returns an object reference to the underlying JAIN MGCP Stack to which this JAIN MGCP Provider is bound. |
void |
removeJainMgcpListener(JainMgcpListener jainMgcpListener)
Removes a JAIN MGCP Listener from the list of Event Listeners registered on an implementation of the JainMgcpProvider interface. |
void |
sendMgcpEvents(JainMgcpEvent[] jainMgcpEvents)
Sends a list of MGCP commands and responses into the MGCP stack. |
| Method Detail |
public void addJainMgcpListener(JainMgcpListener jainMgcpListener)
throws java.util.TooManyListenersException
jainMgcpListener - A reference to an object that implements the JainMgcpListener interface
and that is to be added to the list of Event Listeners.java.util.TooManyListenersException - Thrown if adding this Listener would exceed the number of JAIN MGCP
Listeners permitted by the implementation.public JainMgcpStack getJainMgcpStack()
public void removeJainMgcpListener(JainMgcpListener jainMgcpListener)
jainMgcpListener - A reference to an object that implements the JainMgcpListener interface
and that is to be removed from the list of Event Listeners.
public void sendMgcpEvents(JainMgcpEvent[] jainMgcpEvents)
throws java.lang.IllegalArgumentException
jainMgcpEvents - An array of JainMgcpEvent objects.java.lang.IllegalArgumentException - Thrown if any of the limitations imposed by a vendor's implementation are exceeded.
|
JAINTM MGCP API (DRAFT FOR PUBLIC REVIEW) - Version 0.9 - 16 NOVEMBER 2000 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||