Class that holds parameters for an ssh2_connect $methods parameter This corresponds to the client_to_server and server_to_client keys of the optional $methods parameter for the ssh2_connect function

see \global\http://php.net/ssh2_connect
author Derek Gallo <http://github.com/drock>
package phing.tasks.ext

 Methods

getComp()

getComp() : string

Returns

string

getCrypt()

getCrypt() : string

Returns

string

getMac()

getMac() : string

Returns

string

setComp()

setComp(string $comp) 

Parameters

$comp

string

setCrypt()

setCrypt(string $crypt) 

Parameters

$crypt

string

setMac()

setMac(string $mac) 

Parameters

$mac

string

Get the params as an array unset/null params are excluded from the array

toArray() : array

Returns

array

_filterParam()

_filterParam($var) 

Parameters

$var

 Properties

 

$comp : string
 

$crypt : string
 

$mac : string