TWinsock2UDPServerThread

From Ultibo.org
Revision as of 07:12, 30 July 2021 by Ultibo (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Return to Unit Winsock2


Description


To be documented

Class definitions



TWinsock2UDPServerThread = class(TWinsock2SocketThread)

public
constructor Create(AServer:TWinsock2UDPServer);  
destructor Destroy; override;  
private
FLock:TCriticalSectionHandle;  
 
FActive:Boolean;  
FData:TObject;  
FServer:TWinsock2UDPServer;  
 
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
 
function GetActive:Boolean;  
procedure SetActive(AActive:Boolean);  
protected
procedure AfterExecution; override;  
procedure BeforeExecution; override;  
public
property Active:Boolean read GetActive write SetActive;  
property Data:TObject read FData write FData;  
property Server:TWinsock2UDPServer read FServer;  
 
procedure Execution; override;  


Function declarations



constructor TWinsock2UDPServerThread.Create(AServer:TWinsock2UDPServer);
Description: To be documented
Note None documented


destructor TWinsock2UDPServerThread.Destroy;
Description: To be documented
Note None documented


function TWinsock2UDPServerThread.AcquireLock:Boolean;
Description: To be documented
Note None documented


function TWinsock2UDPServerThread.ReleaseLock:Boolean;
Description: To be documented
Note None documented


function TWinsock2UDPServerThread.GetActive:Boolean;
Description: To be documented
Note None documented


procedure TWinsock2UDPServerThread.SetActive(AActive:Boolean);
Description: To be documented
Note None documented


procedure TWinsock2UDPServerThread.AfterExecution;
Description: To be documented
Note None documented


procedure TWinsock2UDPServerThread.BeforeExecution;
Description: To be documented
Note None documented


procedure TWinsock2UDPServerThread.Execution;
Description: To be documented
Note None documented


Return to Unit Reference