RSE
Release 3.4

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

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

public class UniversalSolarisProcessHandler
extends UniversalAIXProcessHandler

ProcessHandler implementation for Solaris. This is part of internal implementation, and should not be used by clients directly. Use ProcessHandlerManager.getNewProcessHandler() on a Solaris system instead.

Since:
3.1 (actually 3.1.1)

Field Summary
 
Fields inherited from class org.eclipse.rse.services.clientserver.processes.handlers.UniversalAIXProcessHandler
_uidsByUserName, _usernamesByUid
 
Constructor Summary
UniversalSolarisProcessHandler()
           
 
Method Summary
 IHostProcess kill(IHostProcess process, String type)
          Sends a kill signal to a process.
 SortedSet lookupProcesses(IHostProcessFilter rpfs)
          Given a filter string, returns the results of querying all processes that match the filter.
 
Methods inherited from class org.eclipse.rse.services.clientserver.processes.handlers.UniversalAIXProcessHandler
convertToStateCode, getPSOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniversalSolarisProcessHandler

public UniversalSolarisProcessHandler()
Method Detail

kill

public IHostProcess kill(IHostProcess process,
                         String type)
                  throws Exception
Description copied from interface: ProcessHandler
Sends a kill signal to a process.

Specified by:
kill in interface ProcessHandler
Overrides:
kill in class UniversalAIXProcessHandler
Parameters:
process - The process to which the signal will be sent
type - The type of signal to send to the process, "default" for default
Returns:
the process after the signal is sent, or null if the process no longer exists.
Throws:
Exception

lookupProcesses

public SortedSet lookupProcesses(IHostProcessFilter rpfs)
                          throws Exception
Description copied from interface: ProcessHandler
Given a filter string, returns the results of querying all processes that match the filter. The results MUST BE SORTED NUMERICALLY BY PID.

Specified by:
lookupProcesses in interface ProcessHandler
Overrides:
lookupProcesses in class UniversalAIXProcessHandler
Parameters:
rpfs - The filter string to which the objects will be matched.
Returns:
a list of the results of the query. Does not ever return null!
Throws:
Exception

RSE
Release 3.4

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