org.mobicents.jsr309.mgcp
Class MgcpWrapper

java.lang.Object
  extended by org.mobicents.jsr309.mgcp.MgcpWrapper
All Implemented Interfaces:
jain.protocol.ip.mgcp.JainMgcpListener, java.util.EventListener, org.mobicents.mgcp.stack.JainMgcpExtendedListener

public class MgcpWrapper
extends java.lang.Object
implements org.mobicents.mgcp.stack.JainMgcpExtendedListener

Author:
amit bhayani

Constructor Summary
MgcpWrapper(org.mobicents.mgcp.stack.JainMgcpStackProviderImpl jainMgcpStackProviderImpl, jain.protocol.ip.mgcp.message.parms.NotifiedEntity defaultNotfEntity, int peerPort, java.lang.String peerIp)
           
 
Method Summary
 void addListnere(int tx, org.mobicents.mgcp.stack.JainMgcpExtendedListener listener)
           
 void addListnere(jain.protocol.ip.mgcp.message.parms.RequestIdentifier requestId, org.mobicents.mgcp.stack.JainMgcpExtendedListener listener)
           
 jain.protocol.ip.mgcp.message.parms.NotifiedEntity getDefaultNotifiedEntity()
           
 org.mobicents.mgcp.stack.JainMgcpStackProviderImpl getJainMgcpStackProvider()
           
 java.lang.String getPeerIp()
           
 int getPeerPort()
           
 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)
           
 void removeListener(int tx)
           
 void removeListener(jain.protocol.ip.mgcp.message.parms.RequestIdentifier requestId)
           
 void sendMgcpEvents(jain.protocol.ip.mgcp.JainMgcpEvent[] events)
           
 void transactionEnded(int tx)
           
 void transactionRxTimedOut(jain.protocol.ip.mgcp.JainMgcpCommandEvent command)
           
 void transactionTxTimedOut(jain.protocol.ip.mgcp.JainMgcpCommandEvent command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MgcpWrapper

public MgcpWrapper(org.mobicents.mgcp.stack.JainMgcpStackProviderImpl jainMgcpStackProviderImpl,
                   jain.protocol.ip.mgcp.message.parms.NotifiedEntity defaultNotfEntity,
                   int peerPort,
                   java.lang.String peerIp)
Method Detail

addListnere

public void addListnere(int tx,
                        org.mobicents.mgcp.stack.JainMgcpExtendedListener listener)

addListnere

public void addListnere(jain.protocol.ip.mgcp.message.parms.RequestIdentifier requestId,
                        org.mobicents.mgcp.stack.JainMgcpExtendedListener listener)

removeListener

public void removeListener(int tx)

removeListener

public void removeListener(jain.protocol.ip.mgcp.message.parms.RequestIdentifier requestId)

getJainMgcpStackProvider

public org.mobicents.mgcp.stack.JainMgcpStackProviderImpl getJainMgcpStackProvider()

transactionEnded

public void transactionEnded(int tx)
Specified by:
transactionEnded in interface org.mobicents.mgcp.stack.JainMgcpExtendedListener

transactionRxTimedOut

public void transactionRxTimedOut(jain.protocol.ip.mgcp.JainMgcpCommandEvent command)
Specified by:
transactionRxTimedOut in interface org.mobicents.mgcp.stack.JainMgcpExtendedListener

transactionTxTimedOut

public void transactionTxTimedOut(jain.protocol.ip.mgcp.JainMgcpCommandEvent command)
Specified by:
transactionTxTimedOut in interface org.mobicents.mgcp.stack.JainMgcpExtendedListener

processMgcpCommandEvent

public void processMgcpCommandEvent(jain.protocol.ip.mgcp.JainMgcpCommandEvent command)
Specified by:
processMgcpCommandEvent in interface jain.protocol.ip.mgcp.JainMgcpListener

processMgcpResponseEvent

public void processMgcpResponseEvent(jain.protocol.ip.mgcp.JainMgcpResponseEvent response)
Specified by:
processMgcpResponseEvent in interface jain.protocol.ip.mgcp.JainMgcpListener

sendMgcpEvents

public void sendMgcpEvents(jain.protocol.ip.mgcp.JainMgcpEvent[] events)
                    throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getPeerIp

public java.lang.String getPeerIp()

getPeerPort

public int getPeerPort()

getUniqueCallIdentifier

public jain.protocol.ip.mgcp.message.parms.CallIdentifier getUniqueCallIdentifier()

getUniqueRequestIdentifier

public jain.protocol.ip.mgcp.message.parms.RequestIdentifier getUniqueRequestIdentifier()

getUniqueTransactionHandler

public int getUniqueTransactionHandler()

getDefaultNotifiedEntity

public jain.protocol.ip.mgcp.message.parms.NotifiedEntity getDefaultNotifiedEntity()


Copyright © 2010. All Rights Reserved.