TServiceSet

From Ultibo.org
Revision as of 07:19, 22 May 2018 by Ultibo (Talk | contribs) (Created page with "Return to Unit Network __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-co...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Return to Unit Network


Description


To be documented

Class definitions



TServiceSet = class(TListObject)

constructor Create;  
destructor Destroy; override;  
private
FLock:TSynchronizerHandle;  
FLocalLock:TMutexHandle;  
 
function GetName:String;  
procedure SetName(const AName:String);  
procedure SetServiceSetType(AServiceSetType:LongWord);  
procedure SetServiceSetTime(const AServiceSetTime:Int64);  
procedure SetAddress(const AAddress:THardwareAddress);  
procedure SetAdapter(AAdapter:TNetworkAdapter);  
protected
FName:String;  
FServiceSetType:LongWord; BSS/ESS/IBSS
FServiceSetTime:Int64; Flush time
FAddress:THardwareAddress; Address of service set
FAdapter:TNetworkAdapter;  
 
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
public
property Name:String read GetName write SetName;  
property ServiceSetType:LongWord read FServiceSetType write SetServiceSetType;  
property ServiceSetTime:Int64 read FServiceSetTime write SetServiceSetTime;  
property Address:THardwareAddress read FAddress write SetAddress;  
property Adapter:TNetworkAdapter read FAdapter write SetAdapter;  
 
function ReaderLock:Boolean;  
function ReaderUnlock:Boolean;  
function ReaderConvert:Boolean;  
function WriterLock:Boolean;  
function WriterUnlock:Boolean;  
function WriterConvert:Boolean;  


Function declarations



constructor TServiceSet.Create;
Description: To be documented
Note None documented


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


function TServiceSet.GetName:String;
Description: To be documented
Note None documented


procedure TServiceSet.SetName(const AName:String);
Description: To be documented
Note None documented


procedure TServiceSet.SetServiceSetType(AServiceSetType:LongWord);
Description: To be documented
Note None documented


procedure TServiceSet.SetServiceSetTime(const AServiceSetTime:Int64);
Description: To be documented
Note None documented


procedure TServiceSet.SetAddress(const AAddress:THardwareAddress);
Description: To be documented
Note None documented


procedure TServiceSet.SetAdapter(AAdapter:TNetworkAdapter);
Description: To be documented
Note None documented


function TServiceSet.AcquireLock:Boolean;
Description: To be documented
Note None documented


function TServiceSet.ReleaseLock:Boolean;
Description: To be documented
Note None documented


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


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


function TServiceSet.ReaderConvert:Boolean;
Description: Convert a Reader lock to a Writer lock
Note None documented


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


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


function TServiceSet.WriterConvert:Boolean;
Description: Convert a Writer lock to a Reader lock
Note None documented


Return to Unit Reference