Difference between revisions of "TNetworkAuthenticator"

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

Latest revision as of 05:37, 30 May 2018

Return to Unit Transport


Description


To be documented

Class definitions



TNetworkAuthenticator = class(TListObject)

Note: eg EAP/RSN
 
constructor Create(AManager:TTransportManager);  
destructor Destroy; override;  
private
FLock:TSynchronizerHandle;  
protected
FManager:TTransportManager;  
 
FAuthType:Word;  
FInitDelay:LongWord;  
FRetryCount:LongWord;  
FRetryTimeout:LongWord;  
FAdapters:TNetworkList; List of TAuthenticatorAdapter objects
public
property Manager:TTransportManager read FManager;  
property AuthType:Word read FAuthType;  
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 GetAdapterByHandle(AHandle:THandle; ALock:Boolean; AState:LongWord):TAuthenticatorAdapter;  
function GetAdapterByAdapter(AAdapter:TNetworkAdapter; ALock:Boolean; AState:LongWord):TAuthenticatorAdapter;  
function GetAdapterByNext(APrevious:TAuthenticatorAdapter; ALock,AUnlock:Boolean; AState:LongWord):TAuthenticatorAdapter;  
 
function AddAdapter(AAdapter:TNetworkAdapter; AAuthType:Word; ACipher,AKey,AEntity,AToken:Pointer):Boolean; virtual;  
function RemoveAdapter(AAdapter:TNetworkAdapter):Boolean; virtual;  
 
function StartAuthenticator:Boolean; virtual;  
function StopAuthenticator:Boolean; virtual;  
function ProcessAuthenticator:Boolean; virtual;  
 
function BindAuthenticator(AAdapter:TNetworkAdapter):Boolean; virtual;  
function UnbindAuthenticator(AAdapter:TNetworkAdapter):Boolean; virtual;  


Function declarations



constructor TNetworkAuthenticator.Create(AManager:TTransportManager);
Description: To be documented
Note None documented


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


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


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


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


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


function TNetworkAuthenticator.GetAdapterByHandle(AHandle:THandle; ALock:Boolean; AState:LongWord):TAuthenticatorAdapter;
Description: To be documented
Note None documented


function TNetworkAuthenticator.GetAdapterByAdapter(AAdapter:TNetworkAdapter; ALock:Boolean; AState:LongWord):TAuthenticatorAdapter;
Description: To be documented
Note None documented


function TNetworkAuthenticator.GetAdapterByNext(APrevious:TAuthenticatorAdapter; ALock,AUnlock:Boolean; AState:LongWord):TAuthenticatorAdapter;
Description: To be documented
Note None documented


function TNetworkAuthenticator.AddAdapter(AAdapter:TNetworkAdapter; AAuthType:Word; ACipher,AKey,AEntity,AToken:Pointer):Boolean;
Description: To be documented
Note None documented


function TNetworkAuthenticator.RemoveAdapter(AAdapter:TNetworkAdapter):Boolean;
Description: To be documented
Note None documented


function TNetworkAuthenticator.StartAuthenticator:Boolean;
Description: To be documented
Note None documented


function TNetworkAuthenticator.StopAuthenticator:Boolean;
Description: To be documented
Note None documented


function TNetworkAuthenticator.ProcessAuthenticator:Boolean;
Description: To be documented
Note None documented


function TNetworkAuthenticator.BindAuthenticator(AAdapter:TNetworkAdapter):Boolean;
Description: To be documented
Note None documented


function TNetworkAuthenticator.UnbindAuthenticator(AAdapter:TNetworkAdapter):Boolean;
Description: To be documented
Note None documented


Return to Unit Reference