org.mobicents.javax.media.mscontrol.spi
Class DriverImpl
java.lang.Object
org.mobicents.javax.media.mscontrol.spi.DriverImpl
- All Implemented Interfaces:
- jain.protocol.ip.mgcp.JainMgcpListener, EventListener, javax.media.mscontrol.spi.Driver
public class DriverImpl
- extends Object
- implements javax.media.mscontrol.spi.Driver, jain.protocol.ip.mgcp.JainMgcpListener
- Author:
- amit bhayani
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DRIVER_NAME
public static final String DRIVER_NAME
- See Also:
- Constant Field Values
DriverImpl
public DriverImpl()
getFactory
public javax.media.mscontrol.MsControlFactory getFactory(Properties config)
throws javax.media.mscontrol.MsControlException
- Specified by:
getFactory in interface javax.media.mscontrol.spi.Driver
- Throws:
javax.media.mscontrol.MsControlException
getNextTxID
public int getNextTxID()
getScheduler
public ScheduledExecutorService getScheduler()
getCallAgent
public jain.protocol.ip.mgcp.message.parms.NotifiedEntity getCallAgent()
getRemoteDomainName
public String getRemoteDomainName()
send
public void send(jain.protocol.ip.mgcp.JainMgcpEvent evt)
attach
public void attach(jain.protocol.ip.mgcp.message.parms.RequestIdentifier reqID,
jain.protocol.ip.mgcp.JainMgcpListener listener)
- Attaches listener to the specific request.
- Parameters:
reqID - the request identifier.listener - listener to be attached.
deattach
public void deattach(jain.protocol.ip.mgcp.message.parms.RequestIdentifier reqID)
- Deattaches listeners related to specific request.
- Parameters:
reqID - the request identifier.
attach
public void attach(int txID,
jain.protocol.ip.mgcp.JainMgcpListener listener)
- Attaches listener to the specific transaction.
Listener is automaticaly deattaching when transaction is completed.
- Parameters:
txID - the identifier of the transaction.listener - the listener to attach.
deattach
public void deattach(jain.protocol.ip.mgcp.JainMgcpListener listener)
- Deattaches transaction listener upon user request.
- Parameters:
listener - the listener to deattach.
getFactoryPropertyInfo
public javax.media.mscontrol.spi.PropertyInfo[] getFactoryPropertyInfo()
- Specified by:
getFactoryPropertyInfo in interface javax.media.mscontrol.spi.Driver
getName
public String getName()
- Specified by:
getName in interface javax.media.mscontrol.spi.Driver
shutdown
public void shutdown()
processMgcpCommandEvent
public void processMgcpCommandEvent(jain.protocol.ip.mgcp.JainMgcpCommandEvent evt)
- Specified by:
processMgcpCommandEvent in interface jain.protocol.ip.mgcp.JainMgcpListener
processMgcpResponseEvent
public void processMgcpResponseEvent(jain.protocol.ip.mgcp.JainMgcpResponseEvent event)
- Specified by:
processMgcpResponseEvent in interface jain.protocol.ip.mgcp.JainMgcpListener
info
public void info(String s)
debug
public void debug(String s)
warn
public void warn(String s)
Copyright © 2013 TeleStax, Inc.. All Rights Reserved.