public class JainMgcpStackProviderImpl extends Object implements ExtendedJainMgcpProvider
| Modifier and Type | Field and Description |
|---|---|
protected Set<jain.protocol.ip.mgcp.JainMgcpListener> |
jainListeners |
protected Set<JainMgcpExtendedListener> |
jainMobicentsListeners |
protected jain.protocol.ip.mgcp.message.parms.NotifiedEntity |
notifiedEntity |
| Constructor and Description |
|---|
JainMgcpStackProviderImpl(JainMgcpStackImpl runningStack) |
| Modifier and Type | Method and Description |
|---|---|
void |
addJainMgcpListener(jain.protocol.ip.mgcp.JainMgcpListener listener) |
void |
flush() |
jain.protocol.ip.mgcp.JainMgcpStack |
getJainMgcpStack() |
jain.protocol.ip.mgcp.message.parms.NotifiedEntity |
getNotifiedEntity() |
jain.protocol.ip.mgcp.message.parms.CallIdentifier |
getUniqueCallIdentifier() |
jain.protocol.ip.mgcp.message.parms.RequestIdentifier |
getUniqueRequestIdentifier() |
int |
getUniqueTransactionHandler() |
void |
processMgcpCommandEvent(jain.protocol.ip.mgcp.JainMgcpCommandEvent command) |
void |
processMgcpResponseEvent(jain.protocol.ip.mgcp.JainMgcpResponseEvent response,
jain.protocol.ip.mgcp.JainMgcpEvent command) |
void |
processRxTimeout(jain.protocol.ip.mgcp.JainMgcpCommandEvent command) |
void |
processTxTimeout(jain.protocol.ip.mgcp.JainMgcpCommandEvent command) |
void |
removeJainMgcpListener(jain.protocol.ip.mgcp.JainMgcpListener listener) |
void |
sendAsyncMgcpEvents(jain.protocol.ip.mgcp.JainMgcpEvent[] events)
Enqueues events in stack buffer.
|
void |
sendMgcpEvents(jain.protocol.ip.mgcp.JainMgcpEvent[] events) |
void |
setNotifiedEntity(jain.protocol.ip.mgcp.message.parms.NotifiedEntity notifiedEntity) |
protected void |
start() |
protected void |
stop() |
protected Set<jain.protocol.ip.mgcp.JainMgcpListener> jainListeners
protected Set<JainMgcpExtendedListener> jainMobicentsListeners
protected jain.protocol.ip.mgcp.message.parms.NotifiedEntity notifiedEntity
public JainMgcpStackProviderImpl(JainMgcpStackImpl runningStack)
protected void start()
protected void stop()
public void setNotifiedEntity(jain.protocol.ip.mgcp.message.parms.NotifiedEntity notifiedEntity)
public jain.protocol.ip.mgcp.message.parms.NotifiedEntity getNotifiedEntity()
public void addJainMgcpListener(jain.protocol.ip.mgcp.JainMgcpListener listener)
throws TooManyListenersException
addJainMgcpListener in interface jain.protocol.ip.mgcp.JainMgcpProviderTooManyListenersExceptionpublic jain.protocol.ip.mgcp.JainMgcpStack getJainMgcpStack()
getJainMgcpStack in interface jain.protocol.ip.mgcp.JainMgcpProviderpublic void removeJainMgcpListener(jain.protocol.ip.mgcp.JainMgcpListener listener)
removeJainMgcpListener in interface jain.protocol.ip.mgcp.JainMgcpProviderpublic void sendMgcpEvents(jain.protocol.ip.mgcp.JainMgcpEvent[] events)
throws IllegalArgumentException
sendMgcpEvents in interface jain.protocol.ip.mgcp.JainMgcpProviderIllegalArgumentExceptionpublic int getUniqueTransactionHandler()
public void processMgcpResponseEvent(jain.protocol.ip.mgcp.JainMgcpResponseEvent response,
jain.protocol.ip.mgcp.JainMgcpEvent command)
public void processMgcpCommandEvent(jain.protocol.ip.mgcp.JainMgcpCommandEvent command)
public void processTxTimeout(jain.protocol.ip.mgcp.JainMgcpCommandEvent command)
public void processRxTimeout(jain.protocol.ip.mgcp.JainMgcpCommandEvent command)
public jain.protocol.ip.mgcp.message.parms.CallIdentifier getUniqueCallIdentifier()
public jain.protocol.ip.mgcp.message.parms.RequestIdentifier getUniqueRequestIdentifier()
public void sendAsyncMgcpEvents(jain.protocol.ip.mgcp.JainMgcpEvent[] events)
throws IllegalArgumentException
ExtendedJainMgcpProvidersendAsyncMgcpEvents in interface ExtendedJainMgcpProviderIllegalArgumentExceptionpublic void flush()
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.