Re: [Algol-devel] NEW TASK
Status: Alpha
Brought to you by:
cloover
From: Chabaane, z. <cha...@ya...> - 2007-09-25 08:32:40
|
Saveluc Vlad wrote: > My id on sourceforge is vlads_ro . Task 5 is ok for me but i need some > information about the concept of algol, users, structure of database ... Hi Vlad, Your task most respect this structure : 1. DATABASE MYSQL : (you can create it in localhost) - TABLE NAME : ALGOL_USER - FIELDS : ID (NUMBER) LOGIN (VARCHAR(50)) PASSWD (VARCHAR(50)) LAST_SEEN (DATE+TIME) STAT (VARCHAR(3) contain "ON" or "OFF") 2. public class ADMIN_DB : - void connect() // connect() for establishing connection to DATABASE - int onLine() // return a number of user have a value "ON" - boolean getUser() // return a STAT of user (true or false) - void setUser(boolean) // affect to user a value "ON" or "OFF" - void onConnect() // an EventListener if new user connected (ON). - void onDisconnect() // an EventListener if an user disconnected (OFF). 3. To commit your source code in SVN reposity : https://algol.svn.sourceforge.net/svnroot/algol algol This all for the moment. Thanks, ohloh profile <http://www.ohloh.net/accounts/9665?ref=Tiny> ohloh profile for CLoOVeR |