|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.server.bosh.BoshSessionCache
public class BoshSessionCache
Describe class BoshSessionCache here. Created: Mon Feb 25 23:54:57 2008
| Field Summary | |
|---|---|
static String |
DEF_ID
Field description |
protected Map<String,Long> |
jid_msg_start
Cached time of the first message to/from some jid to speedup message caching processing |
static String |
MESSAGE_ID
Field description |
static String |
RESOURCE_BIND_ID
Field description |
static String |
ROSTER_ID
Field description |
| Constructor Summary | |
|---|---|
BoshSessionCache()
Creates a new BoshSessionCache instance. |
|
| Method Summary | |
|---|---|
void |
add(String id,
List<tigase.xml.Element> data)
Method description |
void |
addFromMessage(tigase.xml.Element message)
Method description |
void |
addPresence(tigase.xml.Element presence)
Method description |
void |
addRoster(tigase.xml.Element roster)
Method description |
void |
addToMessage(tigase.xml.Element message)
Method description |
List<tigase.xml.Element> |
get(String id)
Method description |
List<tigase.xml.Element> |
getAll()
Method description |
List<tigase.xml.Element> |
getAllPresences()
Method description |
List<tigase.xml.Element> |
getPresence(String... from)
Method description |
List<tigase.xml.Element> |
remove(String id)
Method description |
void |
set(String id,
List<tigase.xml.Element> data)
Method description |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEF_ID
public static final String ROSTER_ID
public static final String RESOURCE_BIND_ID
public static final String MESSAGE_ID
protected Map<String,Long> jid_msg_start
| Constructor Detail |
|---|
public BoshSessionCache()
BoshSessionCache instance.
| Method Detail |
|---|
public void add(String id,
List<tigase.xml.Element> data)
id - data - public void addFromMessage(tigase.xml.Element message)
message - public void addPresence(tigase.xml.Element presence)
presence - public void addRoster(tigase.xml.Element roster)
roster - public void addToMessage(tigase.xml.Element message)
message - public List<tigase.xml.Element> get(String id)
id -
public List<tigase.xml.Element> getAll()
public List<tigase.xml.Element> getAllPresences()
public List<tigase.xml.Element> getPresence(String... from)
from -
public List<tigase.xml.Element> remove(String id)
id -
public void set(String id,
List<tigase.xml.Element> data)
id - data -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||