TLoopbackConfig

From Ultibo.org
Jump to: navigation, search

Return to Unit DHCP


Description


To be documented

Class definitions



TLoopbackConfig = class(TNetworkConfig)

constructor Create(AManager:TProtocolManager);  
destructor Destroy; override;  
private
function ConfigHandler(AHandle:THandle; AAdapter:TTransportAdapter; ACommand:Word):Boolean;  
protected
 
public
function AddTransport(ATransport:TNetworkTransport):Boolean; override;  
function RemoveTransport(ATransport:TNetworkTransport):Boolean; override;  
 
function StartConfig:Boolean; override;  
function StopConfig:Boolean; override;  
function ProcessConfig:Boolean; override;  


Function declarations



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


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


function TLoopbackConfig.ConfigHandler(AHandle:THandle; AAdapter:TTransportAdapter; ACommand:Word):Boolean;
Description: Process a network config request from a Transport
Handle The Handle of the Config Transport the request is from
Adapter The transport adapter to perform configuration on
Command The configuration command to perform
Note Caller must hold the Adapter lock


function TLoopbackConfig.AddTransport(ATransport:TNetworkTransport):Boolean;
Description: Add a transport to this config
Transport The transport to add


function TLoopbackConfig.RemoveTransport(ATransport:TNetworkTransport):Boolean;
Description: Remove a transport from this config
Transport The transport to remove


function TLoopbackConfig.StartConfig:Boolean;
Description: Start this config ready for use
Note None documented


function TLoopbackConfig.StopConfig:Boolean;
Description: Stop this config ready for removal
Note None documented


function TLoopbackConfig.ProcessConfig:Boolean;
Description: Process periodic tasks for this config
Note None documented


Return to Unit Reference