Difference between revisions of "TNetworkConfig"

From Ultibo.org
Jump to: navigation, search
(Created page with "Return to Unit Protocol __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-...")
 
(No difference)

Latest revision as of 04:55, 25 May 2018

Return to Unit Protocol


Description


To be documented

Class definitions



TNetworkConfig = class(TListObject)

Note: eg DHCP/BOOTP/RARP/STATIC/PSEUDO
 
constructor Create(AManager:TProtocolManager);  
destructor Destroy; override;  
private
FLock:TSynchronizerHandle;  
protected
FManager:TProtocolManager;  
 
FConfigType:Word;  
FInitDelay:LongWord;  
FRetryCount:LongWord;  
FRetryTimeout:LongWord;  
FTransports:TNetworkList; List of TConfigTransport objects
public
property Manager:TProtocolManager read FManager;  
property ConfigType:Word read FConfigType;  
property InitDelay:LongWord read FInitDelay;  
property RetryCount:LongWord read FRetryCount;  
property RetryTimeout:LongWord read FRetryTimeout;  
 
function ReaderLock:Boolean;  
function ReaderUnlock:Boolean;  
function WriterLock:Boolean;  
function WriterUnlock:Boolean;  
 
function GetTransportByHandle(AHandle:THandle; ALock:Boolean; AState:LongWord):TConfigTransport;  
function GetTransportByFamily(AFamily:Word; ALock:Boolean; AState:LongWord):TConfigTransport;  
function GetTransportByTransport(ATransport:TNetworkTransport; ALock:Boolean; AState:LongWord):TConfigTransport;  
function GetTransportByNext(APrevious:TConfigTransport; ALock,AUnlock:Boolean; AState:LongWord):TConfigTransport;  
 
function AddTransport(ATransport:TNetworkTransport):Boolean; virtual;  
function RemoveTransport(ATransport:TNetworkTransport):Boolean; virtual;  
 
function StartConfig:Boolean; virtual;  
function StopConfig:Boolean; virtual;  
function ProcessConfig:Boolean; virtual;  
 
function BindConfig(ATransport:TNetworkTransport):Boolean; virtual;  
function UnbindConfig(ATransport:TNetworkTransport):Boolean; virtual;  
 
function SetConfig(AInitDelay,ARetryCount,ARetryTimeout:LongWord):Boolean; virtual;  


Function declarations



constructor TNetworkConfig.Create(AManager:TProtocolManager);
Description: To be documented
Note None documented


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


function TNetworkConfig.ReaderLock:Boolean;
Description: To be documented
Note None documented


function TNetworkConfig.ReaderUnlock:Boolean;
Description: To be documented
Note None documented


function TNetworkConfig.WriterLock:Boolean;
Description: To be documented
Note None documented


function TNetworkConfig.WriterUnlock:Boolean;
Description: To be documented
Note None documented


function TNetworkConfig.GetTransportByHandle(AHandle:THandle; ALock:Boolean; AState:LongWord):TConfigTransport;
Description: To be documented
Note None documented


function TNetworkConfig.GetTransportByFamily(AFamily:Word; ALock:Boolean; AState:LongWord):TConfigTransport;
Description: To be documented
Note None documented


function TNetworkConfig.GetTransportByTransport(ATransport:TNetworkTransport; ALock:Boolean; AState:LongWord):TConfigTransport;
Description: To be documented
Note None documented


function TNetworkConfig.GetTransportByNext(APrevious:TConfigTransport; ALock,AUnlock:Boolean; AState:LongWord):TConfigTransport;
Description: To be documented
Note None documented


function TNetworkConfig.AddTransport(ATransport:TNetworkTransport):Boolean;
Description: To be documented
Note None documented


function TNetworkConfig.RemoveTransport(ATransport:TNetworkTransport):Boolean;
Description: To be documented
Note None documented


function TNetworkConfig.StartConfig:Boolean;
Description: To be documented
Note None documented


function TNetworkConfig.StopConfig:Boolean;
Description: To be documented
Note None documented


function TNetworkConfig.ProcessConfig:Boolean;
Description: To be documented
Note None documented


function TNetworkConfig.BindConfig(ATransport:TNetworkTransport):Boolean;
Description: To be documented
Note None documented


function TNetworkConfig.UnbindConfig(ATransport:TNetworkTransport):Boolean;
Description: To be documented
Note None documented


function TNetworkConfig.SetConfig(AInitDelay,ARetryCount,ARetryTimeout:LongWord):Boolean;
Description: To be documented
Note None documented


Return to Unit Reference