Difference between revisions of "TServEntry"

From Ultibo.org
Jump to: navigation, search
(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:50, 30 May 2018

Return to Unit Transport


Description


To be documented

Class definitions



TServEntry = class(TListObject)

constructor Create;  
destructor Destroy; override;  
private
FLock:TCriticalSectionHandle;  
 
FAliases:TStringList;  
 
function GetName:String;  
procedure SetName(const AName:String);  
procedure SetPort(APort:Word);  
function GetProtocol:String;  
procedure SetProtocol(const AProtocol:String);  
protected
FName:String;  
FPort:Word;  
FProtocol:String;  
public
property Name:String read GetName write SetName;  
property Port:Word read FPort write SetPort;  
property Protocol:String read GetProtocol write SetProtocol;  
 
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 TServEntry.Create;
Description: To be documented
Note None documented


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


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


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


procedure TServEntry.SetPort(APort:Word);
Description: To be documented
Note None documented


function TServEntry.GetProtocol:String;
Description: To be documented
Note None documented


procedure TServEntry.SetProtocol(const AProtocol:String);
Description: To be documented
Note None documented


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


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


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


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


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


Return to Unit Reference