TProtocolState

From Ultibo.org
Jump to: navigation, search

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