PHP Trait DataSift\Storyplayer\OsLib\Connector_SshClient

Mostra file Open project: datasift/storyplayer

Public Methods

Method Description
getClient ( StoryTeller $st, DataSift\Storyplayer\HostLib\HostDetails $hostDetails ) : SshClient get an SSH client to contact this host

Method Details

getClient() public method

get an SSH client to contact this host
public getClient ( StoryTeller $st, DataSift\Storyplayer\HostLib\HostDetails $hostDetails ) : SshClient
$st DataSift\Storyplayer\PlayerLib\StoryTeller our ubiquitous state object
$hostDetails DataSift\Storyplayer\HostLib\HostDetails details about the host that you want a client for
return DataSift\Storyplayer\CommandLib\SshClient the SSH client for you to use