TSMTPBuffer

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

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

Return to Unit SMTP


Description


To be documented

Class definitions



TSMTPBuffer = 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 TSMTPBuffer.Create(ASize:LongWord);
Description: To be documented
Note None documented


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


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


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


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


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


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


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


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


Return to Unit Reference