Channel buffer based on a database
Located in Program_Root/include/class.Channel_Buffer_DB.inc (line 53)
Constructor.
create a new channel buffer object with name 'channel'
Connect to the database
Establish a database connection
Destroys the channel buffer in database.
Disconnect the database
Get content of current chat line.
Get var cur_line_idx.
Gets the chat lines since a given line index
Get var max_line_idx.
Get channel name.
Initialize the channel buffer in database.
Set a lock to block all other threads.
Creates and sets a lock on a dummy file to perform a simple reader/writer model
Writes chat lines into the buffer
Set var max_line_idx.
It is only a dummy. To change the size of the line buffer, simply add another column like 'line_27'
test class Channel_Buffer
call like: Channel_Buffer::test();
Unlock the dummy file.
Documention generated on Fri, 2 May 2003 10:50:41 +0200 by phpDocumentor 1.2.0rc2