PHP Class DataSift\Storyplayer\OsLib\Base_Unix

Inheritance: extends OsBase
Datei anzeigen Open project: datasift/storyplayer

Public Methods

Method Description
determineHostname ( HostDetails $hostDetails, DataSift\Storyplayer\HostLib\SupportedHost $host ) : string
determineIpAddress ( HostDetails $hostDetails, DataSift\Storyplayer\HostLib\SupportedHost $host ) : string
getInstalledPackageDetails ( HostDetails $hostDetails, string $packageName ) : DataSift\Stone\ObjectLib\BaseObject
getPid ( HostDetails $hostDetails, string $processName ) : integer
getPidIsRunning ( HostDetails $hostDetails, string $pid ) : boolean
getProcessIsRunning ( HostDetails $hostDetails, string $processName ) : boolean

Method Details

determineHostname() public method

public determineHostname ( HostDetails $hostDetails, DataSift\Storyplayer\HostLib\SupportedHost $host ) : string
$hostDetails HostDetails
$host DataSift\Storyplayer\HostLib\SupportedHost
return string

determineIpAddress() public method

public determineIpAddress ( HostDetails $hostDetails, DataSift\Storyplayer\HostLib\SupportedHost $host ) : string
$hostDetails HostDetails
$host DataSift\Storyplayer\HostLib\SupportedHost
return string

getInstalledPackageDetails() public method

public getInstalledPackageDetails ( HostDetails $hostDetails, string $packageName ) : DataSift\Stone\ObjectLib\BaseObject
$hostDetails HostDetails
$packageName string
return DataSift\Stone\ObjectLib\BaseObject

getPid() public method

public getPid ( HostDetails $hostDetails, string $processName ) : integer
$hostDetails HostDetails
$processName string
return integer

getPidIsRunning() public method

public getPidIsRunning ( HostDetails $hostDetails, string $pid ) : boolean
$hostDetails HostDetails
$pid string
return boolean

getProcessIsRunning() public method

public getProcessIsRunning ( HostDetails $hostDetails, string $processName ) : boolean
$hostDetails HostDetails
$processName string
return boolean