Difference between revisions of "THostEntry"
From Ultibo.org
(Created page with "Return to Unit Transport __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible m...") |
(No difference)
|
Latest revision as of 05:47, 30 May 2018
Return to Unit Transport
Description
To be documented
Class definitions
THostEntry = 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);
|
|
procedure SetHostType(AHostType:Word);
|
|
procedure SetHostTime(const AHostTime:Int64);
|
|
protected
| |
FName:String;
|
|
FFamily:Integer;
|
Always 2 for AF_INET |
FLength:Integer;
|
Always 4 for AF_INET |
FHostType:Word;
|
|
FHostTime:Int64;
|
|
public
| |
property Name:String read GetName write SetName;
|
|
property Family:Integer read FFamily write SetFamily;
|
|
property Length:Integer read FLength write SetLength;
|
|
property HostType:Word read FHostType write SetHostType;
|
|
property HostTime:Int64 read FHostTime write SetHostTime;
|
|
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 THostEntry.Create;
Description: To be documented
Note | None documented |
---|
destructor THostEntry.Destroy;
Description: To be documented
Note | None documented |
---|
function THostEntry.GetName:String;
Description: To be documented
Note | None documented |
---|
procedure THostEntry.SetName(const AName:String);
Description: To be documented
Note | None documented |
---|
procedure THostEntry.SetFamily(AFamily:Integer);
Description: To be documented
Note | None documented |
---|
procedure THostEntry.SetLength(ALength:Integer);
Description: To be documented
Note | None documented |
---|
procedure THostEntry.SetHostType(AHostType:Word);
Description: To be documented
Note | None documented |
---|
procedure THostEntry.SetHostTime(const AHostTime:Int64);
Description: To be documented
Note | None documented |
---|
function THostEntry.AcquireLock:Boolean;
Description: To be documented
Note | None documented |
---|
function THostEntry.ReleaseLock:Boolean;
Description: To be documented
Note | None documented |
---|
function THostEntry.FindAlias(const Alias:String):Boolean;
Description: To be documented
Note | None documented |
---|
function THostEntry.AddAlias(const Alias:String):Boolean;
Description: To be documented
Note | None documented |
---|
function THostEntry.RemoveAlias(const Alias:String):Boolean;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference