org.mobicents.protocols.mgcp.stack
Class JainMgcpStackProviderImpl
java.lang.Object
org.mobicents.protocols.mgcp.stack.JainMgcpStackProviderImpl
- All Implemented Interfaces:
- jain.protocol.ip.mgcp.JainMgcpProvider, ExtendedJainMgcpProvider
public class JainMgcpStackProviderImpl
- extends Object
- implements ExtendedJainMgcpProvider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jainListeners
protected Set<jain.protocol.ip.mgcp.JainMgcpListener> jainListeners
jainMobicentsListeners
protected Set<JainMgcpExtendedListener> jainMobicentsListeners
notifiedEntity
protected jain.protocol.ip.mgcp.message.parms.NotifiedEntity notifiedEntity
JainMgcpStackProviderImpl
public JainMgcpStackProviderImpl(JainMgcpStackImpl runningStack)
start
protected void start()
stop
protected void stop()
setNotifiedEntity
public void setNotifiedEntity(jain.protocol.ip.mgcp.message.parms.NotifiedEntity notifiedEntity)
getNotifiedEntity
public jain.protocol.ip.mgcp.message.parms.NotifiedEntity getNotifiedEntity()
addJainMgcpListener
public void addJainMgcpListener(jain.protocol.ip.mgcp.JainMgcpListener listener)
throws TooManyListenersException
- Specified by:
addJainMgcpListener in interface jain.protocol.ip.mgcp.JainMgcpProvider
- Throws:
TooManyListenersException
getJainMgcpStack
public jain.protocol.ip.mgcp.JainMgcpStack getJainMgcpStack()
- Specified by:
getJainMgcpStack in interface jain.protocol.ip.mgcp.JainMgcpProvider
removeJainMgcpListener
public void removeJainMgcpListener(jain.protocol.ip.mgcp.JainMgcpListener listener)
- Specified by:
removeJainMgcpListener in interface jain.protocol.ip.mgcp.JainMgcpProvider
sendMgcpEvents
public void sendMgcpEvents(jain.protocol.ip.mgcp.JainMgcpEvent[] events)
throws IllegalArgumentException
- Specified by:
sendMgcpEvents in interface jain.protocol.ip.mgcp.JainMgcpProvider
- Throws:
IllegalArgumentException
getUniqueTransactionHandler
public int getUniqueTransactionHandler()
processMgcpResponseEvent
public void processMgcpResponseEvent(jain.protocol.ip.mgcp.JainMgcpResponseEvent response,
jain.protocol.ip.mgcp.JainMgcpEvent command)
processMgcpCommandEvent
public void processMgcpCommandEvent(jain.protocol.ip.mgcp.JainMgcpCommandEvent command)
processTxTimeout
public void processTxTimeout(jain.protocol.ip.mgcp.JainMgcpCommandEvent command)
processRxTimeout
public void processRxTimeout(jain.protocol.ip.mgcp.JainMgcpCommandEvent command)
getUniqueCallIdentifier
public jain.protocol.ip.mgcp.message.parms.CallIdentifier getUniqueCallIdentifier()
getUniqueRequestIdentifier
public jain.protocol.ip.mgcp.message.parms.RequestIdentifier getUniqueRequestIdentifier()
sendAsyncMgcpEvents
public void sendAsyncMgcpEvents(jain.protocol.ip.mgcp.JainMgcpEvent[] events)
throws IllegalArgumentException
- Description copied from interface:
ExtendedJainMgcpProvider
- Enqueues events in stack buffer. Current thread does not loose CPU for I/O and other operations. On next stacks worker thread/s buffer is sent.
- Specified by:
sendAsyncMgcpEvents in interface ExtendedJainMgcpProvider
- Throws:
IllegalArgumentException
flush
public void flush()
Copyright © 2013 TeleStax, Inc.. All Rights Reserved.