Ferreteria/v0.6/clade/IO/Aspect/Connx/Runner/Local
Jump to navigation
Jump to search
| ||||||||||||||||||||||
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
Code
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 -- //
}