|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MyDatabaseRemote
Remote interface for MyDatabase.
Method Summary | |
---|---|
int |
addMessage(MyMessage msg)
|
java.sql.Connection |
connectDB()
Business method |
int |
countuser()
Business method |
java.lang.String |
getMessages(int group_id)
|
boolean |
loginuser(java.lang.String username,
java.lang.String password)
Business method |
int |
logoutuser(java.lang.String username,
int session)
Business method |
int |
nextMsgNumber(int group_id)
|
boolean |
registeruser(java.lang.String username,
java.lang.String password)
Business method |
Method Detail |
---|
java.sql.Connection connectDB() throws java.sql.SQLException, java.rmi.RemoteException
java.sql.SQLException
java.rmi.RemoteException
int logoutuser(java.lang.String username, int session) throws java.rmi.RemoteException
java.rmi.RemoteException
boolean loginuser(java.lang.String username, java.lang.String password) throws java.rmi.RemoteException
java.rmi.RemoteException
boolean registeruser(java.lang.String username, java.lang.String password) throws java.rmi.RemoteException
java.rmi.RemoteException
int countuser() throws java.rmi.RemoteException
java.rmi.RemoteException
int addMessage(MyMessage msg) throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getMessages(int group_id) throws java.rmi.RemoteException
java.rmi.RemoteException
int nextMsgNumber(int group_id) throws java.rmi.RemoteException
java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |