|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectforward.server.ForwardCascadeDatabase
public class ForwardCascadeDatabase
This class stores all MixCascades, where messages from blockees can be forwarded to.
| Field Summary | |
|---|---|
private java.util.Hashtable |
m_allowedCascades
Stores all allowed MixCascades, where messages can be forwarded to. |
| Constructor Summary | |
|---|---|
ForwardCascadeDatabase()
This creates a new instance of a ForwardCascadeDatabase. |
|
| Method Summary | |
|---|---|
void |
addCascade(MixCascade a_cascade)
Adds a mixcascade to the list of allowed mixcascades for forwarding. |
java.util.Vector |
getEntryList()
Returns a snapshot of all values in the database of allowed cascades. |
MixCascade |
getMixCascadeById(java.lang.String a_id)
Returns the MixCascade with the specified id, if it is in the database. |
void |
removeAllCascades()
Removes all mixcascades from the database of allowed cascades. |
void |
removeCascade(java.lang.String a_id)
Removes the mixcascade with the given id from the list of allowed cascades. |
org.w3c.dom.Element |
toXmlNode(org.w3c.dom.Document doc)
Returns an XML representation of this database (AllowedCascades node). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.Hashtable m_allowedCascades
| Constructor Detail |
|---|
public ForwardCascadeDatabase()
| Method Detail |
|---|
public MixCascade getMixCascadeById(java.lang.String a_id)
a_id - The id of the demanded MixCascade.
public org.w3c.dom.Element toXmlNode(org.w3c.dom.Document doc)
doc - The XML document, which is the environment for the created XML node.
public java.util.Vector getEntryList()
public void addCascade(MixCascade a_cascade)
a_cascade - The mixcascade to add.public void removeCascade(java.lang.String a_id)
a_id - The id of the mixcascade to remove.public void removeAllCascades()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||