Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodtSFTPServerSubSystem.Create

constructor Create(const aController: iSSHSubSystemController; const aChannel : iSSHServerChannel); override;
Constructs the subsystem for one channel; the framework calls this via TstSFTPServerSubSystem.NewSubSystem and applications do not call it directly. Deliberately keeps no channel reference of its own -- fChan is populated only for the duration of a ReadData call. (The inherited base field still holds aChannel for the object's lifetime; the channel-to-subsystem reference cycle that forms is broken when the channel calls SetSubSystem(nil) at teardown.)