The Flat File Communication Class
it extends the ComBasic Class and Implement it's Abstract Methods
Located in /Com/FileCom.php (line 27)
ComBasic | --FileCom
an Instance of the Sync Class
an Instance of the Writting Methodology Class
The Flat File Name
The Flat File Communication Class Constructor
This class is called in two manners :- 1) Intializing Communication from parent thread here it's called like : $asd=new FileCom() and File Name can be changed latter BUT before Init is called by Process (which has no effect but JUST changing the name)
2) From a called thread to start Communication with other threads ( in same process ) :$asd=new FileCom($uname) where $uname is the Communication file name which must be passed from mother thread to called threads
Flat File Communication Specific Clearing Function
it removes communication files to clear any used space
This is a class Spacefic Deleting function it writes to the file the Values returned from Writting Methodolgy class Deleting function
Flat File Communication Specific Exisctance Checking Function
This function uses the Writting Methodolgy Class to do the Job directly (NO Sync. bounds)
Flat File Communication Specific Getting Function
This function Encapsulates Getting values through Chosen Sync Class
This function is specific to PlainArray Writting class it returns all contents , here it reads all file and returns it
This is the Value Getting function it wrraps the Writting Methodolgy Class Getting function
This is the Class Specific Setting function it writes to the file the Values returned from Writting Methodolgy class Setting function
Flat File Communication Specific Init Function
(For pupose of this function review ComBasic abstract class documentation)
For the FileCom class the role of this function is to create the file to be ready for using it checks for the existance of a file with the same name and keeps looping to find an idle one
Flat File Communication Specific Setting Function
This function Encapsulates Setting values through Chosen Sync Class
Inherited From ComBasic
ComBasic::Clear()
ComBasic::Exist()
ComBasic::Get()
ComBasic::Init()
ComBasic::Set()
Documentation generated on Fri, 01 Aug 2008 05:54:14 +0300 by phpDocumentor 1.4.1