DataSift\Storyplayer\HostLib\PhysicalHost::determineIpAddress PHP Метод

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

public determineIpAddress ( PhysicalHostDetails $vmDetails ) : string
$vmDetails PhysicalHostDetails
Результат string
    public function determineIpAddress($vmDetails)
    {
        // what are we doing?
        $log = usingLog()->startAction("determine IP address of physical host '{$vmDetails->hostId}'");
        // create an adapter to talk to the host operating system
        $host = OsLib::getHostAdapter($this->st, $vmDetails->osName);
        // get the IP address
        $ipAddress = $host->determineIpAddress($vmDetails, $this);
        $vmDetails->ipAddress = $ipAddress;
        // all done
        $log->endAction("IP address is '{$ipAddress}'");
        return $ipAddress;
    }