PHP Класс DataSift\Storyplayer\OsLib\Base_Unix

Автор: Stuart Herbert ([email protected])
Наследование: extends OsBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

determineHostname() публичный Метод

public determineHostname ( HostDetails $hostDetails, DataSift\Storyplayer\HostLib\SupportedHost $host ) : string
$hostDetails HostDetails
$host DataSift\Storyplayer\HostLib\SupportedHost
Результат string

determineIpAddress() публичный Метод

public determineIpAddress ( HostDetails $hostDetails, DataSift\Storyplayer\HostLib\SupportedHost $host ) : string
$hostDetails HostDetails
$host DataSift\Storyplayer\HostLib\SupportedHost
Результат string

getInstalledPackageDetails() публичный Метод

public getInstalledPackageDetails ( HostDetails $hostDetails, string $packageName ) : DataSift\Stone\ObjectLib\BaseObject
$hostDetails HostDetails
$packageName string
Результат DataSift\Stone\ObjectLib\BaseObject

getPid() публичный Метод

public getPid ( HostDetails $hostDetails, string $processName ) : integer
$hostDetails HostDetails
$processName string
Результат integer

getPidIsRunning() публичный Метод

public getPidIsRunning ( HostDetails $hostDetails, string $pid ) : boolean
$hostDetails HostDetails
$pid string
Результат boolean

getProcessIsRunning() публичный Метод

public getProcessIsRunning ( HostDetails $hostDetails, string $processName ) : boolean
$hostDetails HostDetails
$processName string
Результат boolean