|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectse.entra.phantom.server.REXXMigration
se.entra.phantom.server.rconsole.AdminApplication
public class AdminApplication
This class handles a administration application that run as a Phantom application. It uses a MDI there each panel uses a Phantom session with the same name as the panel. Each menu item in the application panel also uses the same control ID as the panel/session it refers to.
There can only be one session for each menu item.
This class uses text references from the file RCONSOLE.PHM that are part of the GUI to this application. Text string IDs referenced from this class uses the scheme ADM1nnn for naming text strings. All other strings are used by the GUI itself.
| Field Summary | |
|---|---|
static int |
MIN_FILE_SIZE
Minimum maximum size for trace/event file. |
static String |
tab
Just a tab. |
| Fields inherited from class se.entra.phantom.server.REXXMigration |
|---|
CTLSTYLE_DISABLE, CTLSTYLE_ENABLE, CTLSTYLE_HIDE, CTLSTYLE_READONLY, CTLSTYLE_SHOW, MAX_TIMEOUT, REXX_ERR_FILENOTFOUND, REXX_ERR_GENERAL, REXX_ERR_HOSTFLDNOTFOUND, REXX_ERR_NOSTATE, REXX_ERR_NOTFOUND, REXX_ERR_READERROR, REXX_ERR_TIMEOUT |
| Fields inherited from interface se.entra.phantom.server.ObjectCalling |
|---|
CHAR, CHECK, CLK, CLOSE, CMD, CRT, DBLCLK, DEFOC, FOC, HCHG, HIDDEN, QMSG, RECRT, REM, SEL, SHOW, START, UCHG, XLATE |
| Constructor Summary | |
|---|---|
AdminApplication(PhantomWorker worker)
Creates a new instance of the administration application. |
|
| Method Summary | |
|---|---|
void |
processClientSessionDisposed(ClientSessionInterface clientSession)
The specified client session is disposed. |
void |
processEvent(ServerEvent event)
A new server event has been processed by the event exit. |
static String |
returnString(String str)
Returns a string, even if the string parameter is null. |
void |
run()
Timer thread method for update of memory list. |
void |
start(String argId,
int argMsg,
String argStr)
This is the function that starts the Java object. |
void |
statBarMessage(String str)
Method to print messages on the status bar. |
static String |
stripLeadingZeroes(String str)
Strips off leading zeroes. |
protected void |
updateMemoryList()
Inserts current memory into a list box. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String tab
public static final int MIN_FILE_SIZE
| Constructor Detail |
|---|
public AdminApplication(PhantomWorker worker)
| Method Detail |
|---|
public void start(String argId,
int argMsg,
String argStr)
Every derived Java class should override this method.
Valid messages are CRT, REM, UCHG, HCHG, FOC, DEFOC, CLK, DBLCLK, CMD, SEL, CLOSE, CHAR, CHECK, HIDDEN, RECRT, XLATE, START, SHOW and QMSG.
Not supported messages are DDEPOKE, DDEEXEC, DDEREQ, DDEVAL, DDECONN, DDEERR, DDEDATA).
start in interface ObjectCallingstart in class REXXMigrationpublic void run()
run in interface Runnablepublic void statBarMessage(String str)
str - String to be displayed on the status bar. May be empty or null.protected void updateMemoryList()
public static String stripLeadingZeroes(String str)
public static String returnString(String str)
public void processClientSessionDisposed(ClientSessionInterface clientSession)
VirtualSessionManager.dispose whenever a client session is
disposed. Any event history listener is then removed, thus freeing the
object reference.
processClientSessionDisposed in interface ClientSessionDisposeListenerpublic void processEvent(ServerEvent event)
processEvent in interface EventHistoryListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||