Difference between revisions of "TWinsock2UDPServerThread"

From Ultibo.org
Jump to: navigation, search
(Created page with "Return to Unit Winsock2 __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-...")
(No difference)

Revision as of 04:24, 6 June 2018

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


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