Difference between revisions of "TWinsock2UDPServerThread"
From Ultibo.org
| Line 21: | Line 21: | ||
|colspan="2"|<div style="font-family: monospace,courier;">'''public'''</div> | |colspan="2"|<div style="font-family: monospace,courier;">'''public'''</div> | ||
|- | |- | ||
| − | | <code>constructor Create(AServer:TWinsock2UDPServer);</code> | + | | <code>constructor Create(AServer:TWinsock2UDPServer; AStackSize:SizeUInt = 0);</code> |
| style="width: 50%;"| | | style="width: 50%;"| | ||
|- | |- | ||
| Line 92: | Line 92: | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
| − | <pre style="border: 0; padding-bottom:0px;">constructor TWinsock2UDPServerThread.Create(AServer:TWinsock2UDPServer);</pre> | + | <pre style="border: 0; padding-bottom:0px;">constructor TWinsock2UDPServerThread.Create(AServer:TWinsock2UDPServer; AStackSize:SizeUInt = 0);</pre> |
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
Latest revision as of 05:13, 5 November 2025
Return to Unit Winsock2
Description
To be documented
Class definitions
TWinsock2UDPServerThread = class(TWinsock2SocketThread)
public
| |
constructor Create(AServer:TWinsock2UDPServer; AStackSize:SizeUInt = 0);
|
|
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; AStackSize:SizeUInt = 0);
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