Ferreteria/v0.6/clade/IO/Aspect/Connx/Plug/@removed
Jump to navigation
Jump to search
|
Removed Code
|
2026-01-11
#
// 2026-01-08 Does anything use this anymore?
public function RunProcess(CmdLineIface $oCmd) : ProcIface {
$oPlug = $this->OSock()->OPlug();
return $oPlug->RunProcess($oCmd);
}
#
// 2026-01-07 old API
public function RunProcess(string|array $saCmd) : ProcIface {
$oPlug = $this->OSock()->OPlug();
return $oPlug->RunProcess($saCmd);
}
#
// 2026-01-07 old API
public function DoCommand(string|array $saCmd, StreamIface $oResps) : CommOpIface {
return $this->ForwardCommand($saCmd,$oResps);
}
protected function ForwardCommand(string|array $saCmd, StreamIface $oResps) : CommOpIface {
#echo $this->OSock()->OPlug()->ReflectThis()->Report();
return $this->OSock()->OPlug()->DoCommand($saCmd,$oResps); // e.g. Shell\Remote\cSSH->DoCommand()
}