Return to Unit Transport
Description
To be documented
Class definitions
[Expand]
TSocketList = class(TObject)
Note: For tracking Sockets belonging to a List (eg AcceptQueue)
|
|
constructor Create;
|
|
destructor Destroy; override;
|
|
private
|
FLock:TCriticalSectionHandle;
|
|
protected
|
FList:TList;
|
|
|
procedure RemoveListItems;
|
|
function GetCount:Integer;
|
|
function GetItem(AIndex:Integer):TTransportSocket;
|
|
procedure SetItem(AIndex:Integer; AItem:TTransportSocket);
|
|
public
|
property Count:Integer read GetCount;
|
|
property Items[Index:Integer]:TTransportSocket read GetItem write SetItem;
|
|
|
function Add(ASocket:TTransportSocket):Integer;
|
|
function Remove(ASocket:TTransportSocket):Integer;
|
|
function First:TTransportSocket;
|
|
function Last:TTransportSocket;
|
|
procedure ClearList;
|
|
|
function AcquireLock:Boolean;
|
|
function ReleaseLock:Boolean;
|
|
Function declarations
[Expand]
constructor TSocketList.Create;
Description: To be documented
[Expand]
destructor TSocketList.Destroy;
Description: To be documented
[Expand]
procedure TSocketList.RemoveListItems;
Description: To be documented
[Expand]
function TSocketList.GetCount:Integer;
Description: To be documented
[Expand]
function TSocketList.GetItem(AIndex:Integer):TTransportSocket;
Description: To be documented
[Expand]
procedure TSocketList.SetItem(AIndex:Integer; AItem:TTransportSocket);
Description: To be documented
[Expand]
function TSocketList.Add(ASocket:TTransportSocket):Integer;
Description: To be documented
[Expand]
function TSocketList.Remove(ASocket:TTransportSocket):Integer;
Description: To be documented
[Expand]
function TSocketList.First:TTransportSocket;
Description: To be documented
[Expand]
function TSocketList.Last:TTransportSocket;
Description: To be documented
[Expand]
procedure TSocketList.ClearList;
Description: To be documented
[Expand]
function TSocketList.AcquireLock:Boolean;
Description: To be documented
[Expand]
function TSocketList.ReleaseLock:Boolean;
Description: To be documented
Return to Unit Reference