Ferreteria/v0.6/fx/DoCommand: Difference between revisions
< Ferreteria | v0.6 | fx
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
! def || clade || usage || notes | ! def || clade || usage || notes | ||
{{!-!}} A || <code>{{l/ver/clade/full|IO\Aspect\Connx|Plug}}</code> || require | {{!-!}} A || <code>{{l/ver/clade/full|IO\Aspect\Connx|Plug}}</code> || require | ||
{{!-!}} A || <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug|Chain}}</code> || implement | {{!-!}} A || <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug|Chain}}</code> || {{l/ver/clade/fx|IO\Aspect\Connx\Plug|Chain|DoCommand|implement}} | ||
{{!-!}} A || <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug|Shell}}</code> || | | <code>return $this->{{l/ver/fx|ForwardCommand}}($saCmd,$oBuff,$oAct)</code> | ||
{{!-!}} A || <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug\Shell\Remote|SSH}}</code> || implement, call | {{!-!}} A || <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug|Shell}}</code> || {{l/ver/clade/fx|IO\Aspect\Connx\Plug|Shell|DoCommand|implement}} | ||
{{!-!}} B || <code>{{l/ver/clade/full|IO\Connx|Shell}}</code> || require || | {{!-!}} A || <code>{{l/ver/clade/full|IO\Aspect\Connx\Plug\Shell\Remote|SSH}}</code> || {{l/ver/clade/fx|IO\Aspect\Connx\Plug\Shell\Remote|SSH|DoCommand|implement}}, call | ||
{{!-!}} ? || <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|Sys\Data\Engine\Conn|MyMar}}</code> || implement,call || | {{!-!}} B || <code>{{l/ver/clade/full|IO\Connx|Shell}}</code> || require || | ||
{{!-!}} A || <code>{{l/ver/clade/full|Sys\Data\Engine\Oper|MyMar}}</code> || call | {{!-!}} ? || <code>{{l/ver/clade/full|IO\Connx\Shell\Remote|SSH}}</code> || {{l/ver/clade/fx|IO\Connx\Shell\Remote|SSH|DoCommand|implement}}, call | ||
{{!-!}} ? || <code>{{l/ver/clade/full|Sys\Data\Engine\ | | call parent with output of <code>$this->{{l/ver/fx|WrapCommand}}()</code> | ||
{{!-!}} A || <code>{{l/ver/clade/full|Sys\Data\Engine\Conn|MyMar}}</code> || {{l/ver/clade/fx|Sys\Data\Engine\Conn|MyMar|DoCommand|implement}}, call || | |||
{{!-!}} A || <code>{{l/ver/clade/full|Sys\Data\Engine\Oper|MyMar}}</code> || call | |||
{{!-!}} ? || <code>{{l/ver/clade/full|Sys\Data\Engine\schema\Ops|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?) | ||
Latest revision as of 01:44, 3 December 2025
About
- Definitions
- A. in
IO\Aspect\ConnxPlug:public function DoCommand(string|array $sCmd, BufferIface $oBuff, ?CommOpIface $oAct=NULL) : CommOpIface - B. in
IO\Connx\Shell:public function DoCommand(string|array $saCmd, BufferIface $oBuffData) : CommOpIface
- A. in
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 | |
| 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\Ops\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?)