Ferreteria/v0.6/clade/IO/Aspect/Connx/Plug/@removed

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | clade‎ | IO‎ | Aspect‎ | Connx‎ | Plug
Jump to navigation Jump to search
Removed Code

2026-01-11

Commented out on 2026-01-08:

#
    // 2026-01-08 Does anything use this anymore?
    public function RunProcess(CmdLineIface $oCmd) : ProcIface {
        $oPlug = $this->OSock()->OPlug();
        return $oPlug->RunProcess($oCmd);
    }

Commented out on 2026-01-07:

#
    // 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()
    }