org.mobicents.media.server.testsuite.cli
Class CLIRunner

java.lang.Object
  extended by org.mobicents.media.server.testsuite.cli.CLIRunner
All Implemented Interfaces:
CallDisplayInterface

public class CLIRunner
extends java.lang.Object
implements CallDisplayInterface

Start time:12:13:39 2009-07-16
Project: mobicents-media-server-test-suite
This is class which enables running test tool in cli mode.

Author:
Bartosz Baranowski

Field Summary
 
Fields inherited from interface org.mobicents.media.server.testsuite.general.CallDisplayInterface
_DEFAULT_CALL_DURATION, _DEFAULT_CPS
 
Constructor Summary
CLIRunner()
           
 
Method Summary
 int getCallDuration()
           
 java.util.Vector<javax.sdp.Attribute> getCodecs()
          Get codec Vector used to create SDP
 int getCPS()
           
 java.io.File getDefaultDataDumpDirectory()
           
 java.lang.String getFileURL()
           
 java.lang.String getLocalAddress()
          Get client address - this is our address
 int getLocalPort()
           
 long getMaxCalls()
           
 int getMaxConcurrentCalls()
           
 int getMaxFailCalls()
           
 java.lang.String getRemoteAddress()
          Get server bind adddress - JBoss bind/MMS
 int getRemotePort()
           
static void main(java.lang.String[] args)
           
 void updateCallView()
           
static void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLIRunner

public CLIRunner()
Method Detail

usage

public static void usage()

getCPS

public int getCPS()
Specified by:
getCPS in interface CallDisplayInterface

getCallDuration

public int getCallDuration()
Specified by:
getCallDuration in interface CallDisplayInterface

getCodecs

public java.util.Vector<javax.sdp.Attribute> getCodecs()
Description copied from interface: CallDisplayInterface
Get codec Vector used to create SDP

Specified by:
getCodecs in interface CallDisplayInterface
Returns:

getDefaultDataDumpDirectory

public java.io.File getDefaultDataDumpDirectory()
Specified by:
getDefaultDataDumpDirectory in interface CallDisplayInterface

getFileURL

public java.lang.String getFileURL()
Specified by:
getFileURL in interface CallDisplayInterface

getLocalAddress

public java.lang.String getLocalAddress()
Description copied from interface: CallDisplayInterface
Get client address - this is our address

Specified by:
getLocalAddress in interface CallDisplayInterface
Returns:

getLocalPort

public int getLocalPort()
Specified by:
getLocalPort in interface CallDisplayInterface

getRemoteAddress

public java.lang.String getRemoteAddress()
Description copied from interface: CallDisplayInterface
Get server bind adddress - JBoss bind/MMS

Specified by:
getRemoteAddress in interface CallDisplayInterface
Returns:

getRemotePort

public int getRemotePort()
Specified by:
getRemotePort in interface CallDisplayInterface

updateCallView

public void updateCallView()
Specified by:
updateCallView in interface CallDisplayInterface

getMaxConcurrentCalls

public int getMaxConcurrentCalls()
Specified by:
getMaxConcurrentCalls in interface CallDisplayInterface

getMaxCalls

public long getMaxCalls()
Specified by:
getMaxCalls in interface CallDisplayInterface

getMaxFailCalls

public int getMaxFailCalls()
Specified by:
getMaxFailCalls in interface CallDisplayInterface

main

public static void main(java.lang.String[] args)


Copyright © 2009. All Rights Reserved.