Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.actions
Class QSYSRemoteServerDQAction

java.lang.Object
  extended by SystemCascadingRemoteServerBaseAction
      extended by com.ibm.etools.iseries.rse.ui.actions.QSYSBaseRemoteServerAction
          extended by com.ibm.etools.iseries.rse.ui.actions.QSYSRemoteServerDQAction

public class QSYSRemoteServerDQAction
extends QSYSBaseRemoteServerAction

This action appears under the Remote Servers Action, and is labeled Data Queue. It allows the user to start and stop the WebFacing server.


Field Summary
static String copyright
           
 
Fields inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSBaseRemoteServerAction
job, returnedMessages, SBMJOB, selectedConnection
 
Constructor Summary
QSYSRemoteServerDQAction(Shell shell)
          Constructor.
 
Method Summary
protected  String getJobName()
          Overridden from parent.
protected  String getJobSubSystem()
          Return the subsystem the job runs in, if you know it.
protected  String getStartServerCommand()
          Overridable parent method to return the command to be submitted to start this server.
protected  String getStopServerCommand()
          Overridable parent method to return the command to be submitted to stop this server.
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSBaseRemoteServerAction
getISeriesConnection, getISeriesJob, getMessages, isServerStarted, isServerStarted, shouldEnable, startServer, stopServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

QSYSRemoteServerDQAction

public QSYSRemoteServerDQAction(Shell shell)
Constructor.

Parameters:
shell - Shell of parent window, used as the parent for the dialog. Can be null, but be sure to call setParent before the action is used (ie, run).
Method Detail

getStartServerCommand

protected String getStartServerCommand()
Overridable parent method to return the command to be submitted to start this server. We return "STRHOSTSVR SERVER(*DTAQ)"

Specified by:
getStartServerCommand in class QSYSBaseRemoteServerAction

getJobName

protected String getJobName()
Overridden from parent. Return the job name to test if active, in order to determine if the server is started or not. This is just the name, to which * will be appended for each of the job number and user ID. We return "QZHQSRVD".

Specified by:
getJobName in class QSYSBaseRemoteServerAction

getJobSubSystem

protected String getJobSubSystem()
Return the subsystem the job runs in, if you know it. Else return null. We return "QSYSWRK"

Specified by:
getJobSubSystem in class QSYSBaseRemoteServerAction

getStopServerCommand

protected String getStopServerCommand()
Overridable parent method to return the command to be submitted to stop this server. We return "ENDHOSTSVR SERVER(*DTAQ)"

Overrides:
getStopServerCommand in class QSYSBaseRemoteServerAction

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.