org.mobicents.media.server.testsuite.general
Class AbstractCall
java.lang.Object
org.mobicents.media.server.testsuite.general.AbstractCall
- All Implemented Interfaces:
- jain.protocol.ip.mgcp.JainMgcpListener, java.io.Serializable, java.lang.Runnable, java.util.EventListener, org.mobicents.mgcp.stack.JainMgcpExtendedListener
- Direct Known Subclasses:
- AnnCall
public abstract class AbstractCall
- extends java.lang.Object
- implements org.mobicents.mgcp.stack.JainMgcpExtendedListener, java.lang.Runnable, java.io.Serializable
- Author:
- baranowb
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mobicents.mgcp.stack.JainMgcpExtendedListener |
transactionEnded, transactionRxTimedOut, transactionTxTimedOut |
| Methods inherited from interface jain.protocol.ip.mgcp.JainMgcpListener |
processMgcpCommandEvent, processMgcpResponseEvent |
logger
protected transient org.apache.log4j.Logger logger
_READ_PERIOD
public static final int _READ_PERIOD
- See Also:
- Constant Field Values
_GLOBAL_SEQ
protected static final transient java.util.concurrent.atomic.AtomicLong _GLOBAL_SEQ
sequence
protected final long sequence
state
protected CallState state
avgJitter
protected int avgJitter
peakJitter
protected int peakJitter
lastDeliverTimeStamp
protected long lastDeliverTimeStamp
dataFileName
protected transient java.io.File dataFileName
fos
protected transient java.io.FileOutputStream fos
dataDumpChannel
protected transient java.io.ObjectOutputStream dataDumpChannel
rtpTraffic
protected transient java.util.List<RtpPacket> rtpTraffic
endpointName
protected java.lang.String endpointName
endpointIdentifier
protected jain.protocol.ip.mgcp.message.parms.EndpointIdentifier endpointIdentifier
callIdentifier
protected jain.protocol.ip.mgcp.message.parms.CallIdentifier callIdentifier
testCase
protected transient AbstractTestCase testCase
datagramChannel
protected transient java.nio.channels.DatagramChannel datagramChannel
readerThread
protected final transient java.util.concurrent.ScheduledExecutorService readerThread
readerTask
protected transient java.util.concurrent.ScheduledFuture readerTask
receiveRTP
protected transient boolean receiveRTP
provider
protected transient org.mobicents.mgcp.stack.JainMgcpStackProviderImpl provider
timeoutHandle
protected transient java.util.concurrent.ScheduledFuture<?> timeoutHandle
AbstractCall
public AbstractCall(AbstractTestCase testCase)
throws java.io.IOException
- Throws:
java.io.IOException
initSocket
protected void initSocket()
throws java.io.IOException
- Throws:
java.io.IOException
getRtp
public java.util.List<RtpPacket> getRtp()
throws java.io.IOException
- Throws:
java.io.IOException
getState
public CallState getState()
getAvgJitter
public int getAvgJitter()
getPeakJitter
public int getPeakJitter()
getEndpoint
public jain.protocol.ip.mgcp.message.parms.EndpointIdentifier getEndpoint()
getCallID
public jain.protocol.ip.mgcp.message.parms.CallIdentifier getCallID()
getSequence
public long getSequence()
setState
protected void setState(CallState state)
getLocalDescriptor
protected java.lang.String getLocalDescriptor(int port)
run
public void run()
- Specified by:
run in interface java.lang.Runnable
start
public abstract void start()
timeOut
public abstract void timeOut()
stop
public abstract void stop()
getTimeoutHandle
public java.util.concurrent.ScheduledFuture<?> getTimeoutHandle()
setTimeoutHandle
public void setTimeoutHandle(java.util.concurrent.ScheduledFuture<?> timeoutHandle)
Copyright © 2009. All Rights Reserved.