public class AdminData extends 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
CHAR, CHECK, CLK, CLOSE, CMD, CRT, DBLCLK, DEFOC, FOC, HCHG, HIDDEN, QMSG, RECRT, REM, SEL, SHOW, START, UCHG, XLATE
OBJACT_CHAR, OBJACT_CHECK, OBJACT_CLICK, OBJACT_CLOSE, OBJACT_COMMAND, OBJACT_CREATE, OBJACT_DBLCLICK, OBJACT_DDECONNECTION, OBJACT_DDEDATA, OBJACT_DDEERROR, OBJACT_DDEEXECUTE, OBJACT_DDEPOKE, OBJACT_DDEREQUEST, OBJACT_DDEVALIDATE, OBJACT_DEFOCUS, OBJACT_DESTROY, OBJACT_FOCUS, OBJACT_HIDDEN, OBJACT_HOSTCHANGE, OBJACT_LAST_MESSAGE_HANDLED, OBJACT_QUERYMSG, OBJACT_RECREATE, OBJACT_SELECT, OBJACT_SHOW, OBJACT_START, OBJACT_TRANSLATE, OBJACT_USERCHANGE, PHA_ICO_INFO, PHA_ICO_NOICON, PHA_ICO_QUESTION, PHA_ICO_STOP, PHA_ICO_WARNING, PHA_MSG_CANCEL, PHA_MSG_ENTER, PHA_MSG_ENTERCANCEL, PHA_MSG_OK, PHA_MSG_OKCANCEL, PHA_MSG_RETIGNCANCEL, PHA_MSG_RETRYCANCEL, PHA_MSG_YESNO, PHA_MSG_YESNOCANCEL
ACTION_CLOSEWINDOW, ACTION_CONTROL, ACTION_HOSTKEY, ACTION_MENU, ACTION_NONE, ACTION_NOTEBOOKPAGE, ACTION_POPUPMENU, CC_BACKGROUND, CC_BOTH, CC_FOREGROUND, CC_NONE, CLIPBOARD_GET, CLIPBOARD_SET, DATEF_DMY, DATEF_MDY, DATEF_SYSTEM, DATEF_YMD, DDE_ADVISE, DDE_EXECUTE, DDE_INITIATE, DDE_POKE, DDE_REQUEST, DDE_TERMINATE, DDE_UNADVISE, DDE_UPDATE, DDEVAR_DISABLE, DDEVAR_ENABLE, DDEVAR_REQUEST, DDEVAR_SET, DDEVAR_VALIDATE, EFT_AMOUNT, EFT_DATE, EFT_DATEAMOUNT, EFT_NORMAL, EFT_PASSWORD, EVENT_CHAR, EVENT_CHECK, EVENT_CLICK, EVENT_COMMAND, EVENT_DBLCLICK, EVENT_DDECONNECTION, EVENT_DDEDATA, EVENT_DDEERROR, EVENT_DDEEXECUTE, EVENT_DDEINVALIDATE, EVENT_DDEPOKE, EVENT_DDEREQUEST, EVENT_DEFOCUS, EVENT_FOCUS, EVENT_PAGEDOWN, EVENT_PAGEUP, EVENT_SELECT, EVENT_UNKNOWN, EVENT_USERCHANGE, EXTENDEDINFO_IDS_TO_CLIENT, FOCUSTYPE_CLIENTTARGET, FOCUSTYPE_CONTROL, FOCUSTYPE_NONE, ICON_CRITICAL, ICON_INFORMATION, ICON_NOICON, ICON_QUERY, ICON_WARNING, J_AUTO, J_BOTTOM, J_BOTTOMLEFT, J_BOTTOMRIGHT, J_CENTER, J_LEFT, J_RIGHT, J_TOP, J_TOPLEFT, J_TOPRIGHT, MAX_PANELS_PER_SESSION, MAX_SESSIONS, MB_ABORTRETRYIGNORE, MB_CANCEL, MB_ENTER, MB_ENTERCANCEL, MB_OK, MB_OKCANCEL, MB_RETRYCANCEL, MB_YESNO, MB_YESNOCANCEL, MBID_CANCEL, MBID_DEFAULT, MBID_ENTER, MBID_IGNORE, MBID_NO, MBID_OK, MBID_RETRY, MBID_YES, MS_MOVE, MS_NONE, MS_SIZE, NETPHANTOM_COPYRIGHT, NETPHANTOM_COPYRIGHT2, NETPHANTOM_VERSION, OBJEVENT_CHECK, OBJEVENT_CLICK, OBJEVENT_DBLCLICK, OBJEVENT_DEFOCUS, OBJEVENT_FOCUS, OBJEVENT_SELECT, OBJEVENT_USERCHANGE, PANELCREATE_APPPANEL, PANELCREATE_DANGLINGPANEL, PANELCREATE_DLGFRAME, PANELCREATE_EXTENDEDINFO, PANELCREATE_ICON, PANELCREATE_INDIVIDUALSIZE, PANELCREATE_POPUP, REPLYTYPE_CLIENTEXECUTE, REPLYTYPE_CLIPBOARD, REPLYTYPE_DDE, REPLYTYPE_FFONTLIST, REPLYTYPE_MESSAGEBOX, REPLYTYPE_REPORT, REPLYTYPE_SAVEPROPS, REPLYTYPE_TERMMARK, RPRT_CANCELPRINTJOB, RPRT_CLOSEPRINTJOB, RPRT_CONTPRINTJOB, RPRT_OPENPRINTJOB, RPRT_PRINTJOBCANCLD, RPRT_PRINTJOBCLOSED, RPRT_PRINTJOBCONT, RPRT_PRINTJOBOPENED, RPRT_PRINTJOBSTARTED, RPRT_STARTPRINTJOB, SELMODE_NORMAL, SELMODE_NOTALLOWED, SELMODE_REQUIRED, SELTYPE_MULTIPLE, SELTYPE_SINGLE, SEPARATOR, SEPARATORCHAR, TRANS_APPLICATIONCHANGE, TRANS_CALLOBJECT, TRANS_CANCELEXIT, TRANS_CLEARLOCK, TRANS_CLIENTEXECUTE, TRANS_CLIENTJARS, TRANS_CLIENTTEXTTABLE, TRANS_CLIENTUPDATED, TRANS_CLIENTUPDATEDNOLOCK, TRANS_CLIPBOARD, TRANS_CLIPBOARDCOMPONENT, TRANS_CLOSETERMINALWINDOW, TRANS_CONNECTIONREFUSED, TRANS_COUNTRYINFO, TRANS_CREATEPANEL, TRANS_CREATESESSION, TRANS_DDE, TRANS_DDEEVENT, TRANS_DDEEVENTREPLY, TRANS_DDEVAREVENT, TRANS_DISPLAYHELP, TRANS_DISPLAYTERMINAL, TRANS_DISPLAYTOOLTIPS, TRANS_ENDCONVERSATION, TRANS_EXIT, TRANS_FONTSUBSTITUTION, TRANS_HOSTCOLORTABLE, TRANS_HOSTPRINT, TRANS_HWND, TRANS_INACTIVESESSION, TRANS_INITIATE, TRANS_KEEPALIVE, TRANS_LOCALE, TRANS_LOGEVENT, TRANS_MESSAGEBOX, TRANS_MESSAGEBOXWITHREPLY, TRANS_MODALREPLY, TRANS_MULTTERM, TRANS_PING, TRANS_PRINTCOMPONENT, TRANS_PRINTPANEL, TRANS_PRINTREPORT, TRANS_PRTWINKEY, TRANS_RECONNECT, TRANS_REDIRECTION, TRANS_REMOVEPANELATLEVEL, TRANS_REMOVETERMINAL, TRANS_RENEGOTIATESSL, TRANS_REQUESTHELP, TRANS_RESOURCEURL, TRANS_SELECTSESSION, TRANS_SESSIONACTIVE, TRANS_SESSIONSELECTED, TRANS_SETCOLORS, TRANS_SETFOCUS, TRANS_SETLOCK, TRANS_SETPANELNESTLEVEL, TRANS_SETUPPARAMS, TRANS_SHOWDOCUMENT, TRANS_SOCKET, TRANS_SOUNDALARM, TRANS_STARTUPINFO, TRANS_STOPSESSION, TRANS_TERMINALDATA, TRANS_TERMINALUPDATE, TRANS_TERMINALWINDOW, TRANS_TERMWINTEXT, TRANS_UPDATEAPPLICATION, TRANS_UPDATEPANEL, TRANS_USEREXITPRTKEY, TRANSACTION_VERSION, TS_CLOSE, TS_DATA, TS_ERROR, TS_OPEN, VSIGN_MINUS, VSIGN_NONE, VSIGN_PLUSMINUS, YEARF_6DIG, YEARF_8DIG, YEARF_EXP8
Constructor and Description |
---|
AdminData() |
Modifier and Type | Method and Description |
---|---|
static long |
fullGC()
Performs a full gc.
|
static String[][] |
getClientList()
Gets the list of client connections.
|
static String[] |
getConnectionAndUser()
Gets the connections and users.
|
static String[] |
getCurrentMemory() |
static String[][] |
getEventClientList()
Gets a list of client connections for event selection.
|
static EventFilter |
getEventFilter(long clientID)
Get event filter for a client.
|
static String[][] |
getEventList(long clientID)
Get a list of EventIDs and description.
|
static String[] |
getMemory() |
static MemoryUsage |
getMemoryUsage()
Creates an memory object.
|
static String[] |
getRuntimeIndexes()
Gets the application indexes.
|
static String[][] |
getRuntimeList()
Use default english yes/no.
|
static String[][] |
getRuntimeList(String yes,
String no)
Gets a list of indexes, user count and application name.
|
static String[] |
getRuntimesIndexesAndNames()
Gets the application indexes.
|
static boolean |
isClientLogonAllowed()
Retrieves status of client logon to server.
|
static boolean |
isUsingLUMapper()
Is LU mapping used.
|
static boolean |
reLoadLU()
Reloads the LUMapper.
|
static boolean |
reLoadRuntime(String[] apps)
Reloads a runtime file.
|
static String |
returnString(String str)
Returns a string, even if the string parameter is null.
|
static int |
sendApplicationBroadcastMessage(String id,
String message)
Sends a message to all clients connected to a specific application.
|
static int |
sendBroadcastMessage(String message)
Sends a message to all connected clients.
|
static boolean |
sendClientMessage(long id,
String message)
Sends a message to a client.
|
static boolean |
setLogonAllowed(boolean logon)
Sets logon status.
|
static void |
setStateApp(String name,
boolean isEnabled)
Disable or enable an application
|
static void |
shutDown(boolean immed)
Shuts down the server.
|
static boolean |
terminateClient(long id)
Terminates a client connection.
|
CallObject, CharIn, CharOut, Chars, ClientExecute, ClipbrdGet, ClipbrdSet, CompLine, CompPos, CompScreen, CreateTempFile, Date, DdeExecute, DdeInitiate, DdePoke, DdeTerminate, DeleteFile, ExecuteProcess, FileAppend, FileCreate, FileSpec, getCodepageConverter, getHostFieldFromID, getHostScreenFromID, getReturnString, getVirtualComponentFromID, getVirtualInterface, getWorker, GlobVarDelete, GlobVarGet, GlobVarSet, HostConnect, HostDisconnect, HostError, HostGetCol, HostGetCurrFld, HostGetFld, HostGetFldAttr, HostGetFldClr, HostGetFldLen, HostGetLastErr, HostGetLine, HostGetRow, HostGetScreen, HostGetSession, HostGetString, HostGetTimeout, HostHideSession, HostSend, HostSendDirect, HostSendFilePsw, HostSetCursor, HostSetCursorToFld, HostSetFld, HostSetTimeout, HostWait, HostWaitScreen, LineIn, LineOut, Lines, LogMsg, LogonGet, LogonSet, MacroPlay, Message, PanCallCtl, PanChart, PanCheckGet, PanCheckSet, PanComboFromFile, PanCreate, PanDestroy, PanelExit, PanEnableClientProcessing, PanEnd, PanFormatText, PanGetCtlData, PanGetCtlLen, PanGetCtlProperty, PanGetCtlStyle, PanGetCurrNbPage, PanGetCurrPanel, PanGetDllExt, PanGetFocus, PanGetText, PanHostInhibit, PanIsClientProcessingEnabled, PanListClear, PanListDelete, PanListFromFile, PanListGetData, PanListGetFld, PanListGetNum, PanListGetSel, PanListInsertData, PanListSetData, PanListSetFld, PanListSetSel, PanListToFile, PanLock, PanNbCancelPaging, PanPreload, PanProcess, PanRemove, PanSelectCurrCtl, PanSetCtlClr, PanSetCtlData, PanSetCtlLen, PanSetCtlProperty, PanSetCtlStyle, PanSetCurFromHost, PanSetFocus, PanSetPanelFromHost, PanSetRatioAndFontScaling, PanSetTextFile, PanSetXlateFile, PanUpdate, PanXlate, RemoveTempFile, Report, RotateLog, ScrComp, ScrGetNext, ScrMatch, ScrMultiWait, ScrMultiWait2, ScrWait, SendEmail, SendSMS, SessionExit, SessionGet, SessionGetAll, SessionSelect, SessionStart, SessionStop, SessVarDelete, SessVarGet, SessVarSet, setReturnString, setVirtualInterface, setWorker, ShowDocument, start, StartLog, StopLog, Stream, Time, TimerGet, TimerPause, TimerStart, TimerStop, Wait, WCompLine, WCompPos, WCompScreen, XDdeAdvise, XDdeExecute, XDdeInitiate, XDdePoke, XDdeRequest, XDdeTerminate, XDdeUnadvise, XDdeUpdate
public static boolean isUsingLUMapper()
public static boolean reLoadLU()
public static boolean reLoadRuntime(String[] apps)
public static boolean terminateClient(long id)
public static boolean setLogonAllowed(boolean logon)
public static boolean sendClientMessage(long id, String message)
public static int sendBroadcastMessage(String message)
public static int sendApplicationBroadcastMessage(String id, String message)
public static String[] getRuntimeIndexes()
public static String[][] getRuntimeList()
public static void setStateApp(String name, boolean isEnabled)
public static String[][] getRuntimeList(String yes, String no)
public static String[] getRuntimesIndexesAndNames()
Used from the GUI of AdminApplication.
public static String[] getConnectionAndUser()
Used from the GUI of AdminApplication.
public static long fullGC()
public static void shutDown(boolean immed)
public static boolean isClientLogonAllowed()
public static String[][] getClientList()
public static String[][] getEventClientList()
public static MemoryUsage getMemoryUsage()
public static String[] getCurrentMemory()
public static String[] getMemory()
public static String returnString(String str)
public static EventFilter getEventFilter(long clientID)
public static String[][] getEventList(long clientID)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.