mailbox_pg
record message to other users and serve them to them , immediately or when
they connect again, using a postgres database for the messages
Copyright (c) 2002 Bruno Boettcher
mailbox_pg.pm is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- init
-
initialize this element, notably make the connection to the database
- PRIVMSGaction
-
look out for commands for this module, notably the mail command
- JOINaction
-
look out for users joining a channel and where there are messages to be delivered
- help
-
issue the help for this module
- isa
-
issue the type of this module
- version
-
issue the version of this module
- shutdown
-
close operations, save evenutally necessary data, remove datastructeres etc.
since we have a session, this will be called through POE!
- createTables
-
create in the DB the tables necessary for the functonality of this bot
- sysdata
-
attribute getter previously provided by ObjecTemplate
- PUBLICaction
-
a user moves, check if we have messages for him
- _start
-
session start, here we initalize the DBIAgent
- checkTables
-
create the tables to hold the data
- tablesCreated
-
create the tables to hold the data
- checkResponse
-
we made a DB acces and don't mind the return as long as its not an error
- _stop
-
close down this thing
Bruno Böttcher <bboett at adlp.org>
zebot home page http://www.freesoftware.fsf.org/zebot/
POD documentation of zebot