TRARPConfig

From Ultibo.org
Jump to: navigation, search

Return to Unit DHCP


Description


To be documented

Class definitions



TRARPConfig = class(TNetworkConfig)

constructor Create(AManager:TProtocolManager);  
destructor Destroy; override;  
private
FRARP:TRARPTransport;  
 
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 TRARPConfig.Create(AManager:TProtocolManager);
Description: To be documented
Note None documented


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


function TRARPConfig.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 TRARPConfig.AddTransport(ATransport:TNetworkTransport):Boolean;
Description: Add a transport to this config
Transport The transport to add


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


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


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


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


Return to Unit Reference