RSE
Release 3.0

org.eclipse.rse.services.clientserver.processes.handlers
Class UniversalZOSProcessHandler

java.lang.Object
  extended by org.eclipse.rse.services.clientserver.processes.handlers.UniversalAIXProcessHandler
      extended by org.eclipse.rse.services.clientserver.processes.handlers.UniversalZOSProcessHandler
All Implemented Interfaces:
ProcessHandler

public class UniversalZOSProcessHandler
extends UniversalAIXProcessHandler


Field Summary
 
Fields inherited from class org.eclipse.rse.services.clientserver.processes.handlers.UniversalAIXProcessHandler
_uidsByUserName, _usernamesByUid
 
Constructor Summary
UniversalZOSProcessHandler()
          Creates a new ProcessHandler for z/OS platforms.
 
Method Summary
protected  String convertToStateCode(String state)
          Return the unique state code assocated with the state given by the ps listing on the z/OS machine.
protected  HashMap getPSOutput(String nextLine)
          Parses one line of output from the ps command - placing the contents into a hashmap, where the keys are the names of process attributes and the values are the attribute values
 SortedSet lookupProcesses(HostProcessFilterImpl rpfs)
           
 
Methods inherited from class org.eclipse.rse.services.clientserver.processes.handlers.UniversalAIXProcessHandler
kill, lookupProcesses
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniversalZOSProcessHandler

public UniversalZOSProcessHandler()
Creates a new ProcessHandler for z/OS platforms.

Method Detail

lookupProcesses

public SortedSet lookupProcesses(HostProcessFilterImpl rpfs)
                          throws Exception
Throws:
Exception

getPSOutput

protected HashMap getPSOutput(String nextLine)
Parses one line of output from the ps command - placing the contents into a hashmap, where the keys are the names of process attributes and the values are the attribute values

Overrides:
getPSOutput in class UniversalAIXProcessHandler
Parameters:
nextLine - a line of output from the ps command
Returns:
a map of names-values of process attributes

convertToStateCode

protected String convertToStateCode(String state)
Return the unique state code assocated with the state given by the ps listing on the z/OS machine.

Overrides:
convertToStateCode in class UniversalAIXProcessHandler

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.