Ferreteria/v0.6/fx/DoCommand: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | fx
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
==About==
==About==
* '''Definitions'''
* '''Definitions'''
** A. in <code>{{l/ver/clade/full|p=ferreteria|IO\Aspect|ConnxPlug}}</code>: <code>public function DoCommand(string|array $sCmd, {{l/ver/clade|IO\Aspect\Connx|Buffer|BufferIface}} $oBuff, ?{{l/ver/clade|Sys\Events\ItWent|CommOp|CommOpIface}} $oAct=NULL) : {{l/ver/clade|Sys\Events\ItWent|CommOp|CommOpIface}}</code>
** A. in <code>{{l/ver/clade/full|IO\Aspect|ConnxPlug}}</code>: <code>public function DoCommand(string|array $sCmd, {{l/ver/clade|IO\Aspect\Connx|Buffer|BufferIface}} $oBuff, ?{{l/ver/clade|Sys\Events\ItWent|CommOp|CommOpIface}} $oAct=NULL) : {{l/ver/clade|Sys\Events\ItWent|CommOp|CommOpIface}}</code>
** B. in <code>{{l/ver/clade/full|p=ferreteria|IO\Connx|Shell}}</code>: <code>public function DoCommand(string|array $saCmd, {{l/ver/clade|IO\Connx|Buffer|BufferIface}} $oBuffData) : {{l/ver/clade|Sys\Events\ItWent|CommOp|CommOpIface}}</code>
** B. in <code>{{l/ver/clade/full|IO\Connx|Shell}}</code>: <code>public function DoCommand(string|array $saCmd, {{l/ver/clade|IO\Connx|Buffer|BufferIface}} $oBuffData) : {{l/ver/clade|Sys\Events\ItWent|CommOp|CommOpIface}}</code>
==Usage==
==Usage==
{| class="wikitable sortable"
{| class="wikitable sortable"
! def || clade || usage || notes
! def || clade || usage || notes
{{!-!}} A || <code>{{l/ver/clade/full|p=ferreteria|IO\Aspect\Connx|Plug}}</code> || require
{{!-!}} A || <code>{{l/ver/clade/full|IO\Aspect\Connx|Plug}}</code> || require
{{!-!}} A || <code>{{l/ver/clade/full|p=ferreteria|IO\Aspect\Connx\Plug|Chain}}</code> || implement || <code>return $this->{{l/ver/fx|ForwardCommand}}($saCmd,$oBuff,$oAct)</code>
{{!-!}} A || <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug|Chain}}</code> || implement || <code>return $this->{{l/ver/fx|ForwardCommand}}($saCmd,$oBuff,$oAct)</code>
{{!-!}} A || <code>{{l/ver/clade/full|p=ferreteria|IO\Aspect\Connx\Plug|Shell}}</code> || implement || see {{l/ver/clade|IO\Aspect\Connx\Plug|Shell/@fx/DoCommand}}
{{!-!}} A || <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug|Shell}}</code> || implement || see {{l/ver/clade|IO\Aspect\Connx\Plug|Shell/@fx/DoCommand}}
{{!-!}} A || <code>{{l/ver/clade/full|p=ferreteria|IO\Aspect\Connx\Plug\Shell\Remote|SSH}}</code> || implement, call || call parent with output of <code>$this->{{l/ver/fx|WrapCommand}}()</code>
{{!-!}} A || <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug\Shell\Remote|SSH}}</code> || implement, call || call parent with output of <code>$this->{{l/ver/fx|WrapCommand}}()</code>
{{!-!}} B || <code>{{l/ver/clade/full|p=ferreteria|IO\Connx|Shell}}</code> || require ||  
{{!-!}} B || <code>{{l/ver/clade/full|IO\Connx|Shell}}</code> || require ||  
{{!-!}} ? || <code>{{l/ver/clade/full|p=ferreteria|IO\Connx\Shell\Remote|SSH}}</code> || implement, call ||  call parent with output of <code>$this->{{l/ver/fx|WrapCommand}}()</code>
{{!-!}} ? || <code>{{l/ver/clade/full|IO\Connx\Shell\Remote|SSH}}</code> || implement, call ||  call parent with output of <code>$this->{{l/ver/fx|WrapCommand}}()</code>
{{!-!}} A || <code>{{l/ver/clade/full|p=ferreteria|Sys\Data\Engine\Conn|MyMar}}</code> || implement,call ||  
{{!-!}} A || <code>{{l/ver/clade/full|Sys\Data\Engine\Conn|MyMar}}</code> || implement,call ||  
{{!-!}} A || <code>{{l/ver/clade/full|p=ferreteria|Sys\Data\Engine\Ops|MyMar}}</code> || call
{{!-!}} A || <code>{{l/ver/clade/full|Sys\Data\Engine\Oper|MyMar}}</code> || call
{{!-!}} ? || <code>{{l/ver/clade/full|p=ferreteria|Sys\Data\Engine\Schema|MyMar}}</code> || call
{{!-!}} ? || <code>{{l/ver/clade/full|Sys\Data\Engine\Schema|MyMar}}</code> || call
|}
|}
===Questions===
===Questions===
* What is the difference between the usage in the two SSH classes? (For that matter, what is the difference between those two classes?)
* What is the difference between the usage in the two SSH classes? (For that matter, what is the difference between those two classes?)

Revision as of 01:37, 3 December 2025

About

Usage

def clade usage notes
A IO\Aspect\Connx\Plug require
A IO\Aspect\Connx\Plug\Chain implement return $this->ForwardCommand($saCmd,$oBuff,$oAct)
A IO\Aspect\Connx\Plug\Shell implement see Shell/@fx/DoCommand
A IO\Aspect\Connx\Plug\Shell\Remote\SSH implement, call call parent with output of $this->WrapCommand()
B IO\Connx\Shell require
? IO\Connx\Shell\Remote\SSH implement, call call parent with output of $this->WrapCommand()
A Sys\Data\Engine\Conn\MyMar implement,call
A Sys\Data\Engine\Oper\MyMar call
? Sys\Data\Engine\Schema\MyMar call

Questions

  • What is the difference between the usage in the two SSH classes? (For that matter, what is the difference between those two classes?)