Unit CMsgThrd

Message Thread unit developed for Delphi Informant article by John Penman, 23 January 1998 SFTP Client message thread

Classes

TMsgThrd - The Message thread class

Functions

Types

TConnData
TRequest
TStates

Constants

Variables

State


Functions


Types


TConnData = record
NumEvents : DWORD;
EventArray : array[1..WSA_MAXIMUM_WAIT_EVENTS] of WSAEvent;
end;
Event record
TRequest = record
Password : String;
Port : String;
UserName : String;
FileName : String;
MachineName : String;
HostName : String;
end;
Info from the main form
TStates = (stMsg, stData, stError, stDead);
Simple state machine

Constants


Variables

State : TStates