API Reference
StreamSec.Snip.SSHClient
Secure Network Interface Framework - StreamSec.Snip.SSHClient
Feature notes: Snif remoting framework (concepts)
Classes, interfaces and records
classTsnipSSHClient
inherits from TstBaseComponent
constructor Create(AOwner: TComponent); override;
procedure SuggestRequiredUnits(aProc: tGetStringMethod); override;
destructor Destroy; override;
procedure Start; virtual;
Opens the SSH session channel on SSHClient, which must be logged in, waits for the server to confirm it (see ChannelOpenTimeout), requests the snip subsystem on it and assigns the snip connection built on it to ClassClient.Connection.
Full description »
procedure Stop; virtual;
Closes the snip connection, which closes its SSH channel, and sets Active False. The SSH connection itself stays up.
Full description »
property Active: Boolean read fActive write SetActive;
property ServerName: string read fServerName write SetServerName;
property MaxFrameSize: Integer read fMaxFrameSize write SetMaxFrameSize default cSnipDefaultMaxFrameSize;
Maximum inbound frame BODY in octets (at least 1; default 16 MiB). TLS/QUIC also use it for the AddIn buffered-plaintext ceiling. A message is one frame: size this for the largest legitimate message, including padding. A peer can make this end buffer about one frame per connection. Changes apply only to connections created afterwards, never to live framers.
property ClassClient: TsnicClassClient read fClassClient write SetClassClient;
property SSHClient: TstCustomSSHClient read fSSH write SetSSH;
property ChannelOpenTimeout: Cardinal read fChannelOpenTimeout write fChannelOpenTimeout default cSnipChannelOpenTimeoutMSec;
Milliseconds Start waits for the server to answer the SSH channel open that carries the snip connection (default 20000).
Full description »