rcCommand
Class rcCmdPrstInfo

java.lang.Object
  |
  +--rcCommand.rcCmd
        |
        +--rcCommand.rcCmdPrstInfo

public class rcCmdPrstInfo
extends rcCmd

Comamnd to return the names and states of all process units of a given instance of the process stage.

Version:
1.0
Author:
C.Witzig - Dec 2, 1999

Field Summary
(package private)  java.lang.String[] thePuNames
           
(package private)  java.lang.String[] thePuStates
           
(package private)  rcCommand.ProcessStage theStage
           
(package private) static java.util.Vector vecPrstNames
           
(package private) static java.util.Vector vecPrstVars
           
 
Fields inherited from class rcCommand.rcCmd
bConnected, bDebug, itOrbRef, refNameServer, sNameServer, sNameServerHost, sPartitionId, sPartitionNamePrefix, sRunControlNamePrefix, theObjmgr, thePartition
 
Constructor Summary
rcCmdPrstInfo(java.lang.String sPrstName)
           
 
Method Summary
 int execute()
           
 int getPrstInfo(rcStringHolder shNames, rcStringHolder shStates)
          Allows access to the information retrieved by the execute member function.
private  rcCommand.ProcessStage getRefFromObjmanager(java.lang.String sName)
          Returns the reference of the process stage from the objmanager in the server.
static void main(java.lang.String[] argv)
           
 
Methods inherited from class rcCommand.rcCmd
createCmd, createCmd, createCmd, execute, getPartitionId, isConnected, isServerRunning, printHelp, selectPartition, setDebug
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

vecPrstNames

static java.util.Vector vecPrstNames

vecPrstVars

static java.util.Vector vecPrstVars

theStage

rcCommand.ProcessStage theStage

thePuNames

java.lang.String[] thePuNames

thePuStates

java.lang.String[] thePuStates
Constructor Detail

rcCmdPrstInfo

public rcCmdPrstInfo(java.lang.String sPrstName)
Method Detail

getRefFromObjmanager

private rcCommand.ProcessStage getRefFromObjmanager(java.lang.String sName)
Returns the reference of the process stage from the objmanager in the server.

getPrstInfo

public int getPrstInfo(rcStringHolder shNames,
                       rcStringHolder shStates)
Allows access to the information retrieved by the execute member function.
Parameters:
shNames - holder of an array of strings with the names of the process units
shNames - holder of an array of strings with the states of the process units
Returns:
number of process units.

execute

public int execute()
Overrides:
execute in class rcCmd

main

public static void main(java.lang.String[] argv)