|
WIDAR Classes | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
ca.nrc.widar.mccc.crmGui.CrmGui
public class CrmGui
WIDAR/EVLA - CRM GUI: CrmGui Class
The CRM Gui is, as its name suggests, a graphical user interface to the Correlator Resource Monitor (CRM). The CRM allows a user to submit diagnostic requests to the CRM directly, and view the results of those diagnostics. The CRM also allows the user to modify some of the various variables and attributes of the CRM remotely from the GUI.
Copyright: National Research Council of Canada and Associated Universities Inc., 2010, 2011, 2012
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
javax.swing.JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
java.awt.Frame.AccessibleAWTFrame |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
java.awt.Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static java.util.Vector<ca.nrc.widar.jaxb.crm.FrontPanel> |
blbFpList
|
static CrmGuiTab |
blbHstTab
|
java.util.ArrayList<ca.nrc.widar.jaxb.crm.CrmFile> |
blbXmlConfigList
|
static java.lang.String |
CLASSNAME
|
static java.net.InetAddress |
clientHost
|
static ca.nrc.widar.mccc.crmGui.CrmGuiConsole |
console
|
static boolean |
consoleXmlMonitor
|
static int |
corrMode
|
static java.util.Vector<java.lang.String> |
cqExcludeId
|
static javax.xml.bind.JAXBContext |
crmJaxbContext
|
static javax.xml.bind.Marshaller |
crmM
|
static Crm.CrmMode |
crmMode
|
static ca.nrc.widar.jaxb.crm.ObjectFactory |
crmOF
|
static java.lang.String |
crmReleaseString
|
static javax.xml.bind.Unmarshaller |
crmU
|
static boolean |
csdMode
|
static CrmGuiTab |
csdTab
|
static CrmGuiDbTab |
dbTab
|
static CrmGuiDbTestTab |
dbTestTab
|
static java.lang.String |
DEFAULT_BLF_PROCESSING_PATH
|
static int |
DEFAULT_HEIGHT
|
static int |
DEFAULT_WIDTH
|
static java.lang.String |
DEFAULT_XML_SOURCE_PATH
|
static int |
DIAG_ID_LENGTH
|
static java.net.InetAddress |
host
|
static boolean |
hstMode
|
static ca.nrc.widar.mccc.crmGui.CrmGui.MemUsageDisplay |
memConsole
|
static int |
mpHeight
|
static int |
mpWidth
|
static java.lang.String |
NEW_DB_HOST
|
static long |
PING_INTERVAL
|
static java.lang.String |
RELEASE_FILENAME
|
static java.lang.String |
releaseString
|
static java.lang.String |
RESTART_DB
|
static int |
SERVER_DEFAULT_TIMEOUT
|
static long |
SERVER_LED_INT
|
static java.util.Vector<ca.nrc.widar.jaxb.crm.FrontPanel> |
stbFpList
|
static CrmGuiTab |
stbHstTab
|
static CrmGuiTab |
systemTab
|
static int |
tabHeight
|
static javax.swing.JTabbedPane |
tabPane
|
static boolean |
testMode
|
static CrmGuiTab |
testTab
|
static ca.nrc.widar.mccc.crmGui.CrmGuiConsole |
xmlConsole
|
static boolean |
xmlMonitorEnable
|
| Fields inherited from class javax.swing.JFrame |
|---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
|---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
CrmGui()
A Convenience constructor which, when called, initiates the CrmGui with the default IP address for mccctest.evla.nrao.edu as the CRM server. |
|
CrmGui(java.lang.String crmHostString)
The constructor for the CrmGui. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Receives an ActionEvent, determines the source and performs instructions accordingly. |
void |
addActionListener(java.awt.event.ActionListener listener)
Adds a listener to the action listener list within this class. |
void |
crmDebugModeUpdate()
Sends a post query to the CRM to indicate the XML Monitor and Debug Modes. |
void |
dataIsReady(DataReadyEvent event)
Handles all DataReadyEvents received from the CRM |
protected void |
fireActionEvent(java.awt.event.ActionEvent event)
Generates an action event for each class listed in the listener list, and calls the actionPerformed method in that class. |
protected void |
fireActionEvent(java.lang.String text)
Generates an action event for each class listed in the listener list, and calls the actionPerformed method in that class. |
static int |
getCommPort()
|
static int |
getCorrMode()
Return the correlator mode |
int |
getCorrUpdateMode()
Returns the integer representation of the currently selected update mode for the correlator model. |
java.util.Vector<ca.nrc.widar.jaxb.crm.CqStatusExclude> |
getCqExcludeId()
|
static java.lang.String |
getCrmModeString()
|
java.lang.String |
getReleaseInfo()
Obtains and returns the release info string for this instantiation of the CRM. |
static boolean |
isAnalyzeAfter()
Returns the value of the analyze data flag |
static boolean |
isAnalyzeCollectOnly()
Returns the value of the analyze data flag |
static boolean |
isAnalyzeData()
Returns the value of the analyze data flag |
static boolean |
isAnalyzeDuring()
Returns the value of the analyze data flag |
static boolean |
isCleanupAll()
Returns the value of the 'cleanup all' menu item |
static boolean |
isCleanupGood()
Returns the value of the 'cleanup good' menu item |
static boolean |
isCleanupNone()
Returns the value of the 'cleanup none' menu item |
static boolean |
isConsoleOpen()
Returns the state of the log console window |
static boolean |
isCsdReturnMode()
|
static boolean |
isDbMode()
|
static boolean |
isDebugMode()
Returns the value of the debug mode flag |
static boolean |
isDiagMode()
|
static boolean |
isFDiff()
Returns the value of the FDiff flag |
static boolean |
isMemConsoleOpen()
Returns the state of the log console window |
static boolean |
isSafeMode()
Returns the value of the safe mode flag |
static boolean |
isTestMode()
|
static void |
main(java.lang.String[] args)
Main |
void |
removeActionListener(java.awt.event.ActionListener listener)
Removes a listener from the action listener list within this class. |
static void |
removeDiagnostic(java.lang.String id)
On receipt of a remove command from the CRM, this method calls all removeDIagnostic methods in the sub-tabs with the supplied id value in order to remove the diagnostic from the GUI |
static void |
sendAnalyze(java.lang.String id,
DataReadyListener drl)
|
static void |
sendAnalyze(java.util.Vector<java.lang.String> idList,
DataReadyListener drl)
|
void |
sendCrmState(ca.nrc.widar.jaxb.crm.State stateXml)
|
static void |
sendDiagnostic(ca.nrc.widar.jaxb.crm.Diagnostic diagXml,
DataReadyListener drl)
A convenience method designed to deal with only one Diagnostic XML object being sent to the CRM. |
static void |
sendDiagnostic(java.util.Vector<ca.nrc.widar.jaxb.crm.Diagnostic> diagXmlList,
DataReadyListener drl)
Takes the supplied list of DIagnostic XML objects, describing diagnostics to be sent to the CRM, adds them to a CrmXml XML object and posts them via HTTP to the CRM. |
static void |
sendHalt(java.lang.String id,
DataReadyListener drl)
A convenience method which desls with a single 'halt' command to be sent to the CRM |
static void |
sendHalt(java.util.Vector<java.lang.String> idList,
DataReadyListener drl)
Packages and sends the halt command to the CRM for the supplied list of diagnostic IDs |
static void |
sendRemove(java.lang.String id,
DataReadyListener drl)
A convenience method which desls with a single 'remove' command to be sent to the CRM |
static void |
sendRemove(java.util.Vector<java.lang.String> idList,
DataReadyListener drl)
Packages and sends the remove command to the CRM for the supplied list of diagnostic IDs |
static void |
showDiagnostic(ca.nrc.widar.jaxb.crm.Diagnostic diagXml)
A method which displays the supplied Diagnostic object in its own message dialog |
static void |
showDiagnostic(java.util.Vector<ca.nrc.widar.jaxb.crm.Diagnostic> diagXmlList)
A convenience method for the showDiagnostic method which allows it to be called with a list of diagnostics, rather than only one |
static void |
showDiagnosticXml(ca.nrc.widar.jaxb.crm.Diagnostic diagXml)
This method takes the supplied Diagnostic XML object, converts it to a string and displays the XML text in an HTML Display Frame |
static void |
updateActionDisplay(java.lang.String message)
Updates the action display panel with the supplied text message |
void |
updateBlbComponentList()
|
void |
updateBlbXmlConfigList()
|
void |
updateCcErrorThreshold(double value)
Updates all components associated with the Lag Comparison Threshold with the supplied value |
void |
updateComponentList()
|
void |
updateConcurrentDiagSettingMenuItem(javax.swing.JMenuItem mi,
int value)
Replaces the string within the indicated menu item for concurrent diagnostic setting with the supplied value |
void |
updateConsoleMode(boolean state)
Updates all components associated with Console display mode |
void |
updateConsoleXmlMode(boolean state)
|
void |
updateCrmModel()
Sends a request to the CrmCorrelatorModel Class in order to obtain an updated correlator model reflecting the current state of the correlator system. |
void |
updateDebugMode(boolean state)
Updates all components associated with Debug Mode |
static void |
updateDiagnostic(ca.nrc.widar.jaxb.crm.Diagnostic diagXml)
On receipt of a Diagnostic XML object, usually indicating the completion of a diagnostic, this method updates the appropriate tab with the supplied information |
static void |
updateDiagnosticStatus(ca.nrc.widar.jaxb.crm.DiagStatus stateXml)
On receipt of a DiagStatus XML object, this method updates the appropriate tab with the supplied information |
static void |
updateExcludeList(java.lang.String id)
Removes the supplied diagnostic ID to the list of diagnostics that should be excluded from status query |
void |
updateMemConsoleMode(boolean state)
Updates all components associated with Memory/Usage Console display mode |
void |
updateRxpSyncTimeout(int value)
Updates all components associated with the Rxp Sync Timeout with the supplied value |
void |
updateStbComponentList()
|
void |
updateSyncCheck(int value)
Updates all components associated with the Sync Check/Blanking interval with the supplied value |
void |
updateTabs()
Forces a call to all sub-tabs to provoke an update of components within the tabs based on stored variables |
static java.net.InetAddress |
verifyHost(java.lang.String hostName)
A method which tests the validity of the supplied hostname |
void |
windowActivated(java.awt.event.WindowEvent we)
|
void |
windowClosed(java.awt.event.WindowEvent we)
|
void |
windowClosing(java.awt.event.WindowEvent we)
|
void |
windowDeactivated(java.awt.event.WindowEvent we)
|
void |
windowDeiconified(java.awt.event.WindowEvent we)
|
void |
windowIconified(java.awt.event.WindowEvent we)
|
void |
windowOpened(java.awt.event.WindowEvent we)
|
| Methods inherited from class javax.swing.JFrame |
|---|
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update |
| Methods inherited from class java.awt.Frame |
|---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.awt.Window |
|---|
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Field Detail |
|---|
public static final int DIAG_ID_LENGTH
public static final int DEFAULT_WIDTH
public static final int DEFAULT_HEIGHT
public static final int SERVER_DEFAULT_TIMEOUT
public static final long SERVER_LED_INT
public static final long PING_INTERVAL
public static final java.lang.String CLASSNAME
public static final java.lang.String RESTART_DB
public static final java.lang.String NEW_DB_HOST
public static final java.lang.String RELEASE_FILENAME
public static final java.lang.String DEFAULT_XML_SOURCE_PATH
public static final java.lang.String DEFAULT_BLF_PROCESSING_PATH
public static int corrMode
public static int mpWidth
public static int mpHeight
public static int tabHeight
public static Crm.CrmMode crmMode
public static boolean csdMode
public static boolean hstMode
public static boolean testMode
public static boolean xmlMonitorEnable
public static boolean consoleXmlMonitor
public static ca.nrc.widar.mccc.crmGui.CrmGuiConsole xmlConsole
public static ca.nrc.widar.mccc.crmGui.CrmGuiConsole console
public static ca.nrc.widar.mccc.crmGui.CrmGui.MemUsageDisplay memConsole
public static javax.swing.JTabbedPane tabPane
public static java.lang.String crmReleaseString
public static java.lang.String releaseString
public static java.net.InetAddress host
public static java.net.InetAddress clientHost
public static CrmGuiTab testTab
public static CrmGuiTab csdTab
public static CrmGuiTab blbHstTab
public static CrmGuiTab stbHstTab
public static CrmGuiTab systemTab
public static CrmGuiDbTab dbTab
public static CrmGuiDbTestTab dbTestTab
public static javax.xml.bind.JAXBContext crmJaxbContext
public static ca.nrc.widar.jaxb.crm.ObjectFactory crmOF
public static javax.xml.bind.Unmarshaller crmU
public static javax.xml.bind.Marshaller crmM
public static java.util.Vector<java.lang.String> cqExcludeId
public java.util.ArrayList<ca.nrc.widar.jaxb.crm.CrmFile> blbXmlConfigList
public static java.util.Vector<ca.nrc.widar.jaxb.crm.FrontPanel> stbFpList
public static java.util.Vector<ca.nrc.widar.jaxb.crm.FrontPanel> blbFpList
| Constructor Detail |
|---|
public CrmGui()
throws java.io.IOException
java.io.IOException
public CrmGui(java.lang.String crmHostString)
throws java.io.IOException
java.io.IOExceptioncrmHostString - A String containing the IP Address of the CRM Server to which
this instance of the CrmGui should connect| Method Detail |
|---|
public void updateConcurrentDiagSettingMenuItem(javax.swing.JMenuItem mi,
int value)
mi - THe JMenuItem to be updatedvalue - The numerical value to be inserted.public void updateCcErrorThreshold(double value)
value - The new double value for Lag comparison Thresholdpublic void updateRxpSyncTimeout(int value)
value - The int value for RXP Synchronization timeout (seconds)public void updateSyncCheck(int value)
value - The int value for Synchronization Check / Blanking Interval (seconds)public void updateDebugMode(boolean state)
state - THe debug Mode (true=on false=off)public void updateBlbXmlConfigList()
public void updateComponentList()
public void updateStbComponentList()
public void updateBlbComponentList()
public static int getCorrMode()
public static boolean isTestMode()
public int getCorrUpdateMode()
public void updateCrmModel()
public static void updateExcludeList(java.lang.String id)
id - A string diagnostic IDpublic java.util.Vector<ca.nrc.widar.jaxb.crm.CqStatusExclude> getCqExcludeId()
public static java.net.InetAddress verifyHost(java.lang.String hostName)
hostName - The String name of the host IP address to verify
public java.lang.String getReleaseInfo()
public static void updateActionDisplay(java.lang.String message)
message - A string message to be displayedpublic void updateConsoleMode(boolean state)
state - The new console display mode (true=on false=off)public void updateConsoleXmlMode(boolean state)
public void updateMemConsoleMode(boolean state)
state - The new console display mode (true=on false=off)public void updateTabs()
public void crmDebugModeUpdate()
public void sendCrmState(ca.nrc.widar.jaxb.crm.State stateXml)
public static void updateDiagnosticStatus(ca.nrc.widar.jaxb.crm.DiagStatus stateXml)
stateXml - A DiagStatus object with diagnostic status informationpublic static void updateDiagnostic(ca.nrc.widar.jaxb.crm.Diagnostic diagXml)
diagXml - A Diagnostic XML objectpublic static void removeDiagnostic(java.lang.String id)
public static void showDiagnostic(java.util.Vector<ca.nrc.widar.jaxb.crm.Diagnostic> diagXmlList)
diagXmlList - A Vectorpublic static void showDiagnostic(ca.nrc.widar.jaxb.crm.Diagnostic diagXml)
diagXml - A Diagnostic object to be displayedpublic static void showDiagnosticXml(ca.nrc.widar.jaxb.crm.Diagnostic diagXml)
diagXml - A Diagnostic XML Object
public static void sendDiagnostic(ca.nrc.widar.jaxb.crm.Diagnostic diagXml,
DataReadyListener drl)
diagXml - A Diagnostic XML objectdrl - The DataReadyListener which is to receive the reply from the CRM
public static void sendDiagnostic(java.util.Vector<ca.nrc.widar.jaxb.crm.Diagnostic> diagXmlList,
DataReadyListener drl)
diagXmlList - A Vector of Diagnostic XML objects to be sent to the CRMdrl - The DataReadyListener which is to receive the reply from the CRM
public static void sendRemove(java.lang.String id,
DataReadyListener drl)
id - The unique String id of a diagnostic to be removeddrl - The DataReadyListener which is to receive the reply
public static void sendRemove(java.util.Vector<java.lang.String> idList,
DataReadyListener drl)
idList - A Vector of unique Diagnostic IDs to be removed from the CRMdrl - The DataReadyListener which is to receive the reply
public static void sendAnalyze(java.lang.String id,
DataReadyListener drl)
public static void sendAnalyze(java.util.Vector<java.lang.String> idList,
DataReadyListener drl)
public static void sendHalt(java.lang.String id,
DataReadyListener drl)
id - The unique String id of a diagnostic to be halteddrl - The DataReadyListener which is to receive the reply
public static void sendHalt(java.util.Vector<java.lang.String> idList,
DataReadyListener drl)
idList - A Vector of unique Diagnostic IDs to be halted within the CRMdrl - The DataReadyListener which is to receive the replypublic static int getCommPort()
public void addActionListener(java.awt.event.ActionListener listener)
listener - The class being added to the listener list.public void removeActionListener(java.awt.event.ActionListener listener)
listener - The class being removed from the listener list.protected void fireActionEvent(java.awt.event.ActionEvent event)
event - The event being fired.protected void fireActionEvent(java.lang.String text)
event - The event being fired.public void dataIsReady(DataReadyEvent event)
dataIsReady in interface DataReadyListenerevent - A DataReadyEvent objectpublic void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed in interface java.awt.event.ActionListenerevent - The incoming action event.public void windowActivated(java.awt.event.WindowEvent we)
windowActivated in interface java.awt.event.WindowListenerpublic void windowClosed(java.awt.event.WindowEvent we)
windowClosed in interface java.awt.event.WindowListenerpublic void windowClosing(java.awt.event.WindowEvent we)
windowClosing in interface java.awt.event.WindowListenerpublic void windowDeactivated(java.awt.event.WindowEvent we)
windowDeactivated in interface java.awt.event.WindowListenerpublic void windowDeiconified(java.awt.event.WindowEvent we)
windowDeiconified in interface java.awt.event.WindowListenerpublic void windowIconified(java.awt.event.WindowEvent we)
windowIconified in interface java.awt.event.WindowListenerpublic void windowOpened(java.awt.event.WindowEvent we)
windowOpened in interface java.awt.event.WindowListenerpublic static java.lang.String getCrmModeString()
public static boolean isCsdReturnMode()
public static boolean isDiagMode()
public static boolean isDbMode()
public static boolean isSafeMode()
public static boolean isDebugMode()
public static boolean isCleanupAll()
public static boolean isCleanupGood()
public static boolean isCleanupNone()
public static boolean isAnalyzeDuring()
public static boolean isAnalyzeAfter()
public static boolean isAnalyzeCollectOnly()
public static boolean isAnalyzeData()
public static boolean isFDiff()
public static boolean isConsoleOpen()
public static boolean isMemConsoleOpen()
public static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException
|
NRAO/DRAO | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||