TTCPState

From Ultibo.org
Jump to: navigation, search

Return to Unit TCP


Description


To be documented

Class definitions



TTCPState = class(TProtocolState)

constructor Create;  
destructor Destroy; override;  
private
FState:LongWord;  
 
procedure SetState(AState:LongWord);  
 
function GetListening:Boolean;  
procedure SetListening(AValue:Boolean);  
function GetEstablished:Boolean;  
procedure SetEstablished(AValue:Boolean);  
function GetClosed:Boolean;  
procedure SetClosed(AValue:Boolean);  
 
function GetSynchronized:Boolean;  
public
property State:LongWord read FState write SetState;  
 
property Listening:Boolean read GetListening write SetListening;  
property Established:Boolean read GetEstablished write SetEstablished;  
property Closed:Boolean read GetClosed write SetClosed;  
 
property Synchronized:Boolean read GetSynchronized;  


Function declarations



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


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


procedure TTCPState.SetState(AState:LongWord);
Description: To be documented
Note None documented


function TTCPState.GetListening:Boolean;
Description: To be documented
Note None documented


procedure TTCPState.SetListening(AValue:Boolean);
Description: To be documented
Note None documented


function TTCPState.GetEstablished:Boolean;
Description: To be documented
Note None documented


procedure TTCPState.SetEstablished(AValue:Boolean);
Description: To be documented
Note None documented


function TTCPState.GetClosed:Boolean;
Description: To be documented
Note None documented


procedure TTCPState.SetClosed(AValue:Boolean);
Description: To be documented
Note None documented


function TTCPState.GetSynchronized:Boolean;
Description: Check for one of the synchronized states, all others are non synchronized or closed
Note None documented


Return to Unit Reference