TStaticConfig
From Ultibo.org
Revision as of 05:16, 2 May 2018 by Ultibo (Talk | contribs) (Created page with "Return to Unit DHCP __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-collapse...")
Return to Unit DHCP
Description
To be documented
Class definitions
TStaticConfig = class(TNetworkConfig)
constructor Create(AManager:TProtocolManager);
|
|
destructor Destroy; override;
|
|
private
| |
FARP:TARPTransport;
|
|
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 TStaticConfig.Create(AManager:TProtocolManager);
Description: To be documented
Note | None documented |
---|
destructor TStaticConfig.Destroy;
Description: To be documented
Note | None documented |
---|
function TStaticConfig.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 TStaticConfig.AddTransport(ATransport:TNetworkTransport):Boolean;
Description: Add a transport to this config
Transport | The transport to add |
---|
function TStaticConfig.RemoveTransport(ATransport:TNetworkTransport):Boolean;
Description: Remove a transport from this config
Transport | The transport to remove |
---|
function TStaticConfig.StartConfig:Boolean;
Description: Start this config ready for use
Note | None documented |
---|
function TStaticConfig.StopConfig:Boolean;
Description: Stop this config ready for removal
Note | None documented |
---|
function TStaticConfig.ProcessConfig:Boolean;
Description: Process periodic tasks for this config
Note | None documented |
---|
Return to Unit Reference