Chat applikasjon
|
Public Member Functions | |
List< Message > | getMessages (int userId1, int userId2) |
Message | addMessage (Message message) |
Data access object for Message
Adds a new message to the database
message | the message to add in database |
|
inline |
Method used to get all messages for a chat
userId1 | ID of the user the messages are sent from |
userId2 | ID of the user the messages are sent to |