|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.as400cmdsubsys.impl.InteractiveJob
This class encapsulates the functions for the interactive job support. The class is used by the CmdSubSystemImpl to invoke the interactive job functions. Architecture: Each command is sent to the Command Miner and then passed on to the interactive job's processing program (STRRSESVR). Once the command gets to the miner the miner generates a positive 4 byte integer and assigns it to the command. There are two ways to exit the STRRSESVR, either by selecting "Release Interactive Job" from the popup menu for an iSeries subsystem or by ending the STRRSESVR command with ENDRQS. In the first case the CommandMiner sends an exit message to the STRRSESVR command which handles cleanup (deleting the data queue.) In the latter case the STRRSESVR command sends an EXIT message to the CommandMiner and the CommandMiner handles cleanup.
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
InteractiveJob(com.ibm.etools.systems.dstore.core.model.DataElement queue,
CmdSubSystemImpl subsystem,
ISeriesSystemDataStore system)
Constructor |
Method Summary | |
---|---|
void |
domainChanged(com.ibm.etools.systems.dstore.extra.internal.extra.DomainEvent event)
|
int |
getCurrentRequestCount()
Return the number of outstanding commands to be run in the interactive job. |
String |
getJobName()
Get the job name for the interactive job |
JobTicket |
getJobTicket()
Get the JobTicket for the associated interactive job. |
Shell |
getShell()
|
boolean |
isInteractiveJobBusy()
Check if the interactive job is currently busy processing a command. |
boolean |
listeningTo(com.ibm.etools.systems.dstore.extra.internal.extra.DomainEvent event)
|
boolean |
releaseInteractiveJob()
Releases the interactive job. |
Object[] |
runCommand(String command)
Run an interactive iSeries QSYS command (vs QSHELL). |
void |
setJobTicket(JobTicket ticket)
Set the JobTicket for the associated interactive job. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String Copyright
Constructor Detail |
public InteractiveJob(com.ibm.etools.systems.dstore.core.model.DataElement queue, CmdSubSystemImpl subsystem, ISeriesSystemDataStore system)
Method Detail |
public int getCurrentRequestCount()
public boolean isInteractiveJobBusy()
getCurrentRequestCount() != 0
public Object[] runCommand(String command)
command
- The command to be run.
#isInteractiveJobAvailable()
public boolean releaseInteractiveJob()
public String getJobName()
public boolean listeningTo(com.ibm.etools.systems.dstore.extra.internal.extra.DomainEvent event)
listeningTo
in interface com.ibm.etools.systems.dstore.extra.internal.extra.IDomainListener
public void domainChanged(com.ibm.etools.systems.dstore.extra.internal.extra.DomainEvent event)
domainChanged
in interface com.ibm.etools.systems.dstore.extra.internal.extra.IDomainListener
public Shell getShell()
getShell
in interface com.ibm.etools.systems.dstore.extra.internal.extra.IDomainListener
public JobTicket getJobTicket()
public void setJobTicket(JobTicket ticket)
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |