org.mobicents.media.server.testsuite.gui
Class MainGUIView

java.lang.Object
  extended by org.jdesktop.application.AbstractBean
      extended by org.jdesktop.application.View
          extended by org.jdesktop.application.FrameView
              extended by org.mobicents.media.server.testsuite.gui.MainGUIView
All Implemented Interfaces:
CallDisplayInterface

public class MainGUIView
extends org.jdesktop.application.FrameView
implements CallDisplayInterface

The application's main frame.


Constructor Summary
MainGUIView(org.jdesktop.application.SingleFrameApplication app)
           
 
Method Summary
 int getCallDuration()
           
 java.util.Vector<javax.sdp.Attribute> getCodec()
          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()
           
 java.lang.String getRemoteAddress()
          Get server bind adddress - JBoss bind/MMS
 int getRemotePort()
           
 void showAboutBox()
           
 void updateCallView()
           
 
Methods inherited from class org.jdesktop.application.FrameView
getFrame, getRootPane, setFrame
 
Methods inherited from class org.jdesktop.application.View
getApplication, getComponent, getContext, getMenuBar, getResourceMap, getStatusBar, getToolBar, getToolBars, setComponent, setMenuBar, setStatusBar, setToolBar, setToolBars
 
Methods inherited from class org.jdesktop.application.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainGUIView

public MainGUIView(org.jdesktop.application.SingleFrameApplication app)
Method Detail

showAboutBox

@Action
public void showAboutBox()

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:

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:

getLocalPort

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

getRemotePort

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

getCallDuration

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

getCPS

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

getCodec

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

Specified by:
getCodec in interface CallDisplayInterface
Returns:

updateCallView

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

getDefaultDataDumpDirectory

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

getFileURL

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


Copyright © 2009. All Rights Reserved.