Ferreteria/v0.6/clade/IO/Aspect/Connx/Runner/Local

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | clade‎ | IO‎ | Aspect‎ | Connx‎ | Runner
Jump to navigation Jump to search
clade: IO\Aspect\Connx\Runner\Local
Clade Family
Runner Local
Clade Aliases
Alias Clade
Base* [ca,i] IO\Aspect\Connx\Runner
CLineIface Sys\Data\Codec\aux\CmdLine
OpComm* [c,i] IO\Aspect\Connx\aux\itWent\OpComm
OpOpen* [c,i] IO\Aspect\Connx\aux\itWent\OpComm
OpShut* [c,i] Sys\Events\ItWent
Subpages

About

  • Purpose: a shell connection to the local machine

Thinking

  • 2024-11-19 For local connections, we mostly don't need to do anything as far as opening and shutting stuff. I suppose we could have this non-functionality implemented in the base class, and override the nothings with somethings for other connection types, but that doesn't seem like good separation of functionality.

History

  • 2024-11-02 started
  • 2024-11-19 moved from [WF]Config\Def\Connex\Shell ⇒ [WF]IO\Connex\Shell

Code

as of 2026-03-03:

interface iLocal extends BaseIface {}
abstract class caLocal extends BaseClass implements iLocal {

    // ++ CONFIG ++ //

    public function SType()           : string { return 'local plug'; }

    // -- CONFIG -- //
    // ++ LIFECYCLE ++ //

    public function ActualOpen() : OpOpenIface { return OpCommClass::AsNoOp(); }
    public function ActualShut() : OpShutIface { return OpCommClass::AsNoOp(); }

    // -- LIFECYCLE -- //
    // ++ UI ++ //

    public function DescribeInline() : string { return '(local)'; }

    // -- UI -- //
}