|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.server.amp.MsgRepository
public class MsgRepository
Created: May 3, 2010 5:28:02 PM
| Constructor Summary | |
|---|---|
MsgRepository()
|
|
| Method Summary | |
|---|---|
static MsgRepository |
getInstance(String id_string)
Method description |
tigase.xml.Element |
getMessageExpired(long time,
boolean delete)
Method description |
void |
initRepository(String conn_str,
Map<String,String> map)
Method description |
Queue<tigase.xml.Element> |
loadMessagesToJID(tigase.xmpp.JID to,
boolean delete)
Method description |
void |
storeMessage(tigase.xmpp.JID from,
tigase.xmpp.JID to,
Date expired,
tigase.xml.Element msg)
Method description |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MsgRepository()
| Method Detail |
|---|
public static MsgRepository getInstance(String id_string)
id_string -
public tigase.xml.Element getMessageExpired(long time,
boolean delete)
getMessageExpired in interface MsgRepositoryIfctime - delete -
public void initRepository(String conn_str,
Map<String,String> map)
throws SQLException
conn_str - map -
SQLException
public Queue<tigase.xml.Element> loadMessagesToJID(tigase.xmpp.JID to,
boolean delete)
throws UserNotFoundException
loadMessagesToJID in interface MsgRepositoryIfcto - delete -
UserNotFoundException
public void storeMessage(tigase.xmpp.JID from,
tigase.xmpp.JID to,
Date expired,
tigase.xml.Element msg)
throws UserNotFoundException
storeMessage in interface MsgRepositoryIfcfrom - to - expired - msg -
UserNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||