Difference between revisions of "TProtocolState"

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

Latest revision as of 04:52, 25 May 2018

Return to Unit Protocol


Description


To be documented

Class definitions



TProtocolState = class(TObject)

constructor Create;  
destructor Destroy; override;  
private
FLock:TCriticalSectionHandle;  
protected
FLocalPort:Word;  
FRemotePort:Word;  
 
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
 
procedure SetLocalPort(ALocalPort:Word);  
procedure SetRemotePort(ARemotePort:Word);  
public
property LocalPort:Word read FLocalPort write SetLocalPort;  
property RemotePort:Word read FRemotePort write SetRemotePort;  


Function declarations



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


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


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


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


procedure TProtocolState.SetLocalPort(ALocalPort:Word);
Description: To be documented
Note None documented


procedure TProtocolState.SetRemotePort(ARemotePort:Word);
Description: To be documented
Note None documented


Return to Unit Reference