The MySQL Communication Class
it extends the ComBasic Class and Implement it's Abstract Methods one thing specific to this Communication Scheme is that it doesn't use neither Sync class nor Writting Methodology Class , as it depends on the support of this in MySQL itself it's problem is that even it uses Heap tables it's not as fast as Shared Memory (when using ie WELL) nor it's as Available as Flat Files
Located in /Com/MyCom.php (line 24)
ComBasic | --MyCom
The MySQL Communication Class Constructor
This class is called in THE SAME way for two purposes :- 1) From the Mother Thread and then it's Inited for creating the table
2) From a child thread that wants to Communicate
MySQL Communication Specific Clearing Function
Just Drop the table
MySQL Communication Specific Existance Checking Function
Check if the result of SELECTing the Prob $name has any affected rows
MySQL Communication Specific Getting Function
Select the $value of $name from the Communication Table
MySQL Communication Specific Init Function
(For pupose of this function review ComBasic abstract class documentation)
For the MyCom class the role of this function is to create the table used for communication , it starts with name "process" and then continues till find an idle name
MySQL Communication Specific Setting Function
Here the function tries to insert a new row containing new $name and $value
Inherited From ComBasic
ComBasic::Clear()
ComBasic::Exist()
ComBasic::Get()
ComBasic::Init()
ComBasic::Set()
Documentation generated on Fri, 01 Aug 2008 05:54:15 +0300 by phpDocumentor 1.4.1