TWinsock2SocketBuffers

From Ultibo.org
Jump to: navigation, search

Return to Unit Winsock2


Description


To be documented

Class definitions



TWinsock2SocketBuffers = class(TObject)

public
constructor Create;  
destructor Destroy; override;  
private
FLock:TCriticalSectionHandle;  
 
FCount:Integer;  
FFirst:TWinsock2SocketBuffer;  
FLast:TWinsock2SocketBuffer;  
 
function GetCount:Integer;  
function GetFirst:TWinsock2SocketBuffer;  
function GetLast:TWinsock2SocketBuffer;  
function Link(AValue:TWinsock2SocketBuffer):Boolean;  
function LinkEx(APrev,AValue:TWinsock2SocketBuffer):Boolean;  
function Unlink(AValue:TWinsock2SocketBuffer):Boolean;  
protected
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
public
property Count:Integer read GetCount;  
property First:TWinsock2SocketBuffer read GetFirst;  
property Last:TWinsock2SocketBuffer read GetLast;  
function Add(AValue:TWinsock2SocketBuffer):Boolean; virtual;  
function Remove(AValue:TWinsock2SocketBuffer):Boolean; virtual;  
function Insert(APrev,AValue:TWinsock2SocketBuffer):Boolean; virtual;  
function Find(AValue:TWinsock2SocketBuffer):Boolean; virtual;  
procedure Clear; virtual;  


Function declarations



constructor TWinsock2SocketBuffers.Create;
Description: To be documented
Note None documented


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


function TWinsock2SocketBuffers.GetCount:Integer;
Description: To be documented
Note None documented


function TWinsock2SocketBuffers.GetFirst:TWinsock2SocketBuffer;
Description: To be documented
Note None documented


function TWinsock2SocketBuffers.GetLast:TWinsock2SocketBuffer;
Description: To be documented
Note None documented


function TWinsock2SocketBuffers.Link(AValue:TWinsock2SocketBuffer):Boolean;
Description: Link AValue to Prev,Next Siblings and Adjust First/Last
Note None documented


function TWinsock2SocketBuffers.LinkEx(APrev,AValue:TWinsock2SocketBuffer):Boolean;
Description: Link AValue after APrev Sibling and Adjust First/Last/Prev/Next
Note If APrev is nil then Link as first value in list


function TWinsock2SocketBuffers.Unlink(AValue:TWinsock2SocketBuffer):Boolean;
Description: Unlink AValue from Prev,Next Siblings and Adjust First/Last
Note None documented


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


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


function TWinsock2SocketBuffers.Add(AValue:TWinsock2SocketBuffer):Boolean;
Description: Add AValue to List and link with Siblings
Note None documented


function TWinsock2SocketBuffers.Remove(AValue:TWinsock2SocketBuffer):Boolean; 
Description: Unlink AValue from Siblings and Remove from List
Note None documented


function TWinsock2SocketBuffers.Insert(APrev,AValue:TWinsock2SocketBuffer):Boolean; 
Description: To be documented
Note None documented


function TWinsock2SocketBuffers.Find(AValue:TWinsock2SocketBuffer):Boolean;
Description: To be documented
Note None documented


procedure TWinsock2SocketBuffers.Clear; 
Description: To be documented
Note None documented


Return to Unit Reference