Difference between revisions of "TRouteEntry"
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:48, 30 May 2018
Return to Unit Transport
Description
To be documented
Class definitions
TRouteEntry = class(TListObject)
constructor Create;
|
|
destructor Destroy; override;
|
|
private
| |
FLock:TSynchronizerHandle;
|
|
FLocalLock:TMutexHandle;
|
|
procedure SetFamily(AFamily:Integer);
|
|
procedure SetLength(ALength:Integer);
|
|
procedure SetMetric(AMetric:Integer);
|
|
procedure SetRouteType(ARouteType:Word);
|
|
procedure SetRouteTime(const ARouteTime:Int64);
|
|
protected
| |
FFamily:Integer;
|
Always 2 for AF_INET |
FLength:Integer;
|
Always 4 for AF_INET |
FMetric:Integer;
|
|
FRouteType:Word;
|
|
FRouteTime:Int64;
|
|
function AcquireLock:Boolean;
|
|
function ReleaseLock:Boolean;
|
|
public
| |
property Family:Integer read FFamily write SetFamily;
|
|
property Length:Integer read FLength write SetLength;
|
|
property Metric:Integer read FMetric write SetMetric;
|
|
property RouteType:Word read FRouteType write SetRouteType;
|
|
property RouteTime:Int64 read FRouteTime write SetRouteTime;
|
|
function ReaderLock:Boolean;
|
|
function ReaderUnlock:Boolean;
|
|
function ReaderConvert:Boolean;
|
|
function WriterLock:Boolean;
|
|
function WriterUnlock:Boolean;
|
|
function WriterConvert:Boolean;
|
Function declarations
constructor TRouteEntry.Create;
Description: To be documented
Note | None documented |
---|
destructor TRouteEntry.Destroy;
Description: To be documented
Note | None documented |
---|
procedure TRouteEntry.SetFamily(AFamily:Integer);
Description: To be documented
Note | None documented |
---|
procedure TRouteEntry.SetLength(ALength:Integer);
Description: To be documented
Note | None documented |
---|
procedure TRouteEntry.SetMetric(AMetric:Integer);
Description: To be documented
Note | None documented |
---|
procedure TRouteEntry.SetRouteType(ARouteType:Word);
Description: To be documented
Note | None documented |
---|
procedure TRouteEntry.SetRouteTime(const ARouteTime:Int64);
Description: To be documented
Note | None documented |
---|
function TRouteEntry.AcquireLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TRouteEntry.ReleaseLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TRouteEntry.ReaderLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TRouteEntry.ReaderUnlock:Boolean;
Description: To be documented
Note | None documented |
---|
function TRouteEntry.ReaderConvert:Boolean;
Description: Convert a Reader lock to a Writer lock
Note | None documented |
---|
function TRouteEntry.WriterLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TRouteEntry.WriterUnlock:Boolean;
Description: To be documented
Note | None documented |
---|
function TRouteEntry.WriterConvert:Boolean;
Description: Convert a Writer lock to a Reader lock
Note | None documented |
---|
Return to Unit Reference