Difference between revisions of "TARPConfig"
From Ultibo.org
(Created page with "Return to Unit DHCP __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-collapse...") |
(No difference)
|
Latest revision as of 05:13, 2 May 2018
Return to Unit DHCP
Description
To be documented
Class definitions
TARPConfig = 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 TARPConfig.Create(AManager:TProtocolManager);
Description: To be documented
Note | None documented |
---|
destructor TARPConfig.Destroy;
Description: To be documented
Note | None documented |
---|
function TARPConfig.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 TARPConfig.AddTransport(ATransport:TNetworkTransport):Boolean;
Description: Add a transport to this config
Transport | The transport to add |
---|
function TARPConfig.RemoveTransport(ATransport:TNetworkTransport):Boolean;
Description: Remove a transport from this config
Transport | The transport to remove |
---|
function TARPConfig.StartConfig:Boolean;
Description: Start this config ready for use
Note | None documented |
---|
function TARPConfig.StopConfig:Boolean;
Description: Stop this config ready for removal
Note | None documented |
---|
function TARPConfig.ProcessConfig:Boolean;
Description: Process periodic tasks for this config
Note | None documented |
---|
Return to Unit Reference