se.entra.phantom.server.rconsole
Class AdminConfigRemoteApplication

java.lang.Object
  extended by se.entra.phantom.server.rconsole.AdminConfigRemoteApplication

public class AdminConfigRemoteApplication
extends Object

Handles an Remote application definition.


Constructor Summary
AdminConfigRemoteApplication(String[] data)
          Creates a remote application from a string array from a list box.
AdminConfigRemoteApplication(String name, String data)
          Creates a remote application from a string in the INI file.
AdminConfigRemoteApplication(VirtualPanel vp)
          Creates a remote application from a panel.
 
Method Summary
 boolean doSearchFirst()
          Flag indicating runtime files should search matching screens from first runtime.
 String getClassName()
          Gets the name of the class.
 char getHostSession()
          The host session to use.
 String getListBoxString()
          Gets the listbox string for this resource.
 String getName()
          Get the name of the remote application.
static AdminConfigRemoteApplication getRemoteApplication(String name)
          Gets a remote application from a name.
 String getRuntimeApplicationNames()
          Gets the runtime applications names.
 int getTimeout()
          The session timeout value (in minutes, always > 0).
 long getTimeoutMillis()
          The session timeout value (in milliseconds, always > 0).
static void loadRemoteApplications(IniFile ini)
          Loads all the remote applications from the "server.ini" file.
static void performListSelectionChange(VirtualPanel vp, VirtualCListBox list, int line, boolean hasSelection)
          Performs a list selection change in the resource definition panel.
 void setItem(IniFile ini)
          Sets the item in the ini file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminConfigRemoteApplication

public AdminConfigRemoteApplication(VirtualPanel vp)
Creates a remote application from a panel.


AdminConfigRemoteApplication

public AdminConfigRemoteApplication(String[] data)
                             throws IOException
Creates a remote application from a string array from a list box.

Throws:
IOException - when the data doesn't have the correct format.

AdminConfigRemoteApplication

public AdminConfigRemoteApplication(String name,
                                    String data)
                             throws IOException
Creates a remote application from a string in the INI file.

Throws:
IOException - when the data doesn't have the correct format.
Method Detail

loadRemoteApplications

public static void loadRemoteApplications(IniFile ini)
Loads all the remote applications from the "server.ini" file.


getRemoteApplication

public static AdminConfigRemoteApplication getRemoteApplication(String name)
Gets a remote application from a name.

Returns:
null if not found.

performListSelectionChange

public static void performListSelectionChange(VirtualPanel vp,
                                              VirtualCListBox list,
                                              int line,
                                              boolean hasSelection)
Performs a list selection change in the resource definition panel.


getListBoxString

public String getListBoxString()
Gets the listbox string for this resource.


setItem

public void setItem(IniFile ini)
Sets the item in the ini file.


getRuntimeApplicationNames

public String getRuntimeApplicationNames()
Gets the runtime applications names.


getHostSession

public char getHostSession()
The host session to use.


getTimeout

public int getTimeout()
The session timeout value (in minutes, always > 0).


getTimeoutMillis

public long getTimeoutMillis()
The session timeout value (in milliseconds, always > 0).


doSearchFirst

public boolean doSearchFirst()
Flag indicating runtime files should search matching screens from first runtime.


getClassName

public String getClassName()
Gets the name of the class.


getName

public String getName()
Get the name of the remote application.



Phantom® and NetPhantom® are registered trademarks of Codectica Systems SARL.
© Copyright Codectica Systems SARL, 2008. All rights reserved.