TTransportBufferEx

From Ultibo.org
Jump to: navigation, search

Return to Unit Transport


Description


To be documented

Class definitions



TTransportBufferEx = class(TObject)

constructor Create(ATransport:TNetworkTransport);  
destructor Destroy; override;  
private
FLock:TSynchronizerHandle;  
protected
FTransport:TNetworkTransport;  
 
function ReaderLock:Boolean;  
function ReaderUnlock:Boolean;  
function ReaderConvert:Boolean;  
function WriterLock:Boolean;  
function WriterUnlock:Boolean;  
function WriterConvert:Boolean;  
function WriterOwner:Boolean;  


Function declarations



constructor TTransportBufferEx.Create(ATransport:TNetworkTransport);
Description: To be documented
Note None documented


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


function TTransportBufferEx.ReaderLock:Boolean;
Description: To be documented
Note None documented


function TTransportBufferEx.ReaderUnlock:Boolean;
Description: To be documented
Note None documented


function TTransportBufferEx.ReaderConvert:Boolean;
Description: Convert a Reader lock to a Writer lock
Note None documented


function TTransportBufferEx.WriterLock:Boolean;
Description: To be documented
Note None documented


function TTransportBufferEx.WriterUnlock:Boolean;
Description: To be documented
Note None documented


function TTransportBufferEx.WriterConvert:Boolean;
Description: Convert a Writer lock to a Reader lock
Note None documented


function TTransportBufferEx.WriterOwner:Boolean;
Description: Return True if the current thread is the writer owner
Note None documented


Return to Unit Reference