THTTPBuffer
From Ultibo.org
								
												
				Return to Unit HTTP
Description
To be documented
Class definitions
THTTPBuffer = 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;
 | 
|
 procedure Clear;
 | 
|
 function ReadData:Char;
 | 
|
 function WriteData(AChar:Char):Boolean;
 | 
|
 function ReadLock(var ASize:LongWord):Pointer;
 | 
|
 function ReadUnlock(ACount:LongWord):Boolean;
 | 
|
 function WriteLock(var ASize:LongWord):Pointer;
 | 
|
 function WriteUnlock(ACount:LongWord):Boolean;
 | 
|
Function declarations
constructor THTTPBuffer.Create(ASize:LongWord);
Description: To be documented
| Note | None documented | 
|---|
destructor THTTPBuffer.Destroy;
Description: To be documented
| Note | None documented | 
|---|
function THTTPBuffer.AcquireLock:Boolean;
Description: To be documented
| Note | None documented | 
|---|
function THTTPBuffer.ReleaseLock:Boolean;
Description: To be documented
| Note | None documented | 
|---|
 
function THTTPBuffer.GetCount:LongWord;
Description: To be documented
| Note | None documented | 
|---|
procedure THTTPBuffer.Clear;
Description: To be documented
| Note | None documented | 
|---|
function THTTPBuffer.ReadData:Char;
Description: To be documented
| Note | None documented | 
|---|
function THTTPBuffer.WriteData(AChar:Char):Boolean;
Description: To be documented
| Note | None documented | 
|---|
function THTTPBuffer.ReadLock(var ASize:LongWord):Pointer;
Description: To be documented
| Note | None documented | 
|---|
 
function THTTPBuffer.ReadUnlock(ACount:LongWord):Boolean;
Description: To be documented
| Note | None documented | 
|---|
function THTTPBuffer.WriteLock(var ASize:LongWord):Pointer;
Description: Lock the buffer and return a pointer to the next write
| Note | None documented | 
|---|
function THTTPBuffer.WriteUnlock(ACount:LongWord):Boolean;
Description: To be documented
| Note | None documented | 
|---|
Return to Unit Reference