rcCommand
Class rcCmdInfo

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

public class rcCmdInfo
extends rcCmd

Comamnd to retrieve general info about the state of the partition and process stage objects from the server.

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

Fields inherited from class rcCommand.rcCmd
bConnected, bDebug, itOrbRef, refNameServer, sNameServer, sNameServerHost, sPartitionId, sPartitionNamePrefix, sRunControlNamePrefix, theObjmgr, thePartition
 
Constructor Summary
rcCmdInfo()
           
 
Method Summary
 int execute()
           
 java.lang.String execute(java.lang.String strOfWhat, rcStringHolder shNames, rcStringHolder shStates)
          Executes the command.
static void main(java.lang.String[] argv)
           
 
Methods inherited from class rcCommand.rcCmd
createCmd, createCmd, createCmd, 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
 

Constructor Detail

rcCmdInfo

public rcCmdInfo()
Method Detail

execute

public int execute()
Overrides:
execute in class rcCmd

execute

public java.lang.String execute(java.lang.String strOfWhat,
                                rcStringHolder shNames,
                                rcStringHolder shStates)
Executes the command.
Parameters:
strOfWhat - of whom the status is required. currently only "partition".
shNames - a holder of an array of strings with the process stage names.
shStates - a holder of an array of strings with the process stage states.
Returns:
the global state of the partition.
Overrides:
execute in class rcCmd

main

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