Class AbstractRemoteFlowTab

    • Field Detail

      • DEFAULT_PORT

        public static final int DEFAULT_PORT
        the default port to use for refreshing flows.
        See Also:
        Constant Field Values
      • m_SplitPane

        protected BaseSplitPane m_SplitPane
        the split pane.
      • m_PanelFlows

        protected JPanel m_PanelFlows
        the panel for the connection/table.
      • m_ButtonRefresh

        protected BaseButton m_ButtonRefresh
        the button for refreshing the flows.
      • m_ButtonPauseFlow

        protected BaseButton m_ButtonPauseFlow
        the button for pausing the flow.
      • m_ButtonResumeFlow

        protected BaseButton m_ButtonResumeFlow
        the button for resuming the flow.
      • m_ButtonStopFlow

        protected BaseButton m_ButtonStopFlow
        the button for stopping the flow.
      • m_ButtonStopAdams

        protected BaseButton m_ButtonStopAdams
        the button for stopping the ADAMS instance.
      • m_ButtonKillAdams

        protected BaseButton m_ButtonKillAdams
        the button for killing the ADAMS isntance.
    • Constructor Detail

      • AbstractRemoteFlowTab

        public AbstractRemoteFlowTab()
    • Method Detail

      • initialize

        protected void initialize()
        For initializing members.
        Overrides:
        initialize in class BasePanel
      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BasePanel
      • finishInit

        protected void finishInit()
        Finalizes the initialization.
        Overrides:
        finishInit in class BasePanel
      • getFlowsTable

        public BaseTableWithButtons getFlowsTable()
        Returns the underlying table for the flows.
        Returns:
        the table
      • configureEngine

        protected DefaultScriptingEngine configureEngine​(ResponseHandler responseHandler)
        Returns new instance of a configured scripting engine.
        Parameters:
        responseHandler - the handler to use for intercepting the result, can be null
        Returns:
        the engine
      • sendCommand

        public void sendCommand​(RemoteCommand cmd)
        Sends the specified command, not waiting for a response.
        Parameters:
        cmd - the command to send
      • sendCommandWithReponse

        public void sendCommandWithReponse​(RemoteCommandWithResponse cmd)
        Sends the specified command. Uses a default response handler for intercepting the result.
        Parameters:
        cmd - the command to send
      • sendCommandWithReponse

        public void sendCommandWithReponse​(RemoteCommandWithResponse cmd,
                                           ResponseHandler responseHandler)
        Sends the specified command and the response handler for intercepting the result.
        Parameters:
        cmd - the command to send
        responseHandler - the response handler for intercepting the result, can be null
      • refreshFlows

        protected void refreshFlows()
        Refreshes the list of flows.
      • getSelectedFlowIDs

        protected int[] getSelectedFlowIDs()
        Returns an ID array of the currently selected flows.
        Returns:
        the flow IDs
      • pauseFlow

        protected void pauseFlow()
        Pauses the selected flow(s).
      • resumeFlow

        protected void resumeFlow()
        Resumes the selected flow(s).
      • stopFlow

        protected void stopFlow()
        Stops the selected flow(s).
      • stopAdams

        protected void stopAdams()
        Stops the ADAMS instance.
      • killAdams

        protected void killAdams()
        Kills the ADAMS instance.
      • updateButtons

        protected void updateButtons()
        Updates the state of the buttons.