TNetworkEntry

From Ultibo.org
Revision as of 05:50, 30 May 2018 by Ultibo (Talk | contribs) (Created page with "Return to Unit Transport __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible m...")

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

Return to Unit Transport


Description


To be documented

Class definitions



TNetworkEntry = class(TListObject)

constructor Create;  
destructor Destroy; override;  
private
FLock:TCriticalSectionHandle;  
 
FAliases:TStringList;  
 
function GetName:String;  
procedure SetName(const AName:String);  
procedure SetFamily(AFamily:Integer);  
procedure SetLength(ALength:Integer);  
protected
FName:String;  
FFamily:Integer; Always 2 for AF_INET
FLength:Integer; Always 4 for AF_INET
public
property Name:String read GetName write SetName;  
property Family:Integer read FFamily write SetFamily;  
property Length:Integer read FLength write SetLength;  
 
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
 
function FindAlias(const Alias:String):Boolean;  
 
function AddAlias(const Alias:String):Boolean;  
function RemoveAlias(const Alias:String):Boolean;  


Function declarations



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


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


function TNetworkEntry.GetName:String;
Description: To be documented
Note None documented


procedure TNetworkEntry.SetName(const AName:String);
Description: To be documented
Note None documented


procedure TNetworkEntry.SetFamily(AFamily:Integer);
Description: To be documented
Note None documented


procedure TNetworkEntry.SetLength(ALength:Integer);
Description: To be documented
Note None documented


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


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


function TNetworkEntry.FindAlias(const Alias:String):Boolean;
Description: To be documented
Note None documented


function TNetworkEntry.AddAlias(const Alias:String):Boolean;
Description: To be documented
Note None documented


function TNetworkEntry.RemoveAlias(const Alias:String):Boolean;
Description: To be documented
Note None documented


Return to Unit Reference