TTelnetBuffer

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

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

Return to Unit Services


Description


To be documented

Class definitions



TTelnetBuffer = class(TObject)

public
constructor Create(ASize:LongWord);  
destructor Destroy; override;  
private
FLock:TCriticalSectionHandle;  
 
FData:Pointer;  
FSize:LongWord;  
FCount:LongWord;  
FStart:LongWord;  
 
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
 
function GetCount:LongWord;  
public
property Count:LongWord read GetCount;  
 
function ReadData:Char;  
function WriteData(AChar:Char):Boolean;  
 
function WriteLock(var ASize:LongWord):Pointer;  
function WriteUnlock(ACount:LongWord):Boolean;  


Function declarations



constructor TTelnetBuffer.Create(ASize:LongWord);
Description: To be documented
Note None documented


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


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


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


function TTelnetBuffer.GetCount:LongWord;
Description: To be documented
Note None documented


function TTelnetBuffer.ReadData:Char;
Description: To be documented
Note None documented


function TTelnetBuffer.WriteData(AChar:Char):Boolean;
Description: To be documented
Note None documented


function TTelnetBuffer.WriteLock(var ASize:LongWord):Pointer;
Description: Lock the buffer and return a pointer to the next write
Note None documented


function TTelnetBuffer.WriteUnlock(ACount:LongWord):Boolean;
Description: To be documented
Note None documented


Return to Unit Reference