public class ForwardCascadeDatabase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Hashtable |
m_allowedCascades
Stores all allowed MixCascades, where messages can be forwarded to.
|
private boolean |
m_bInitialized |
Constructor and Description |
---|
ForwardCascadeDatabase()
This creates a new instance of a ForwardCascadeDatabase.
|
Modifier and Type | Method and Description |
---|---|
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).
|
private java.util.Hashtable m_allowedCascades
private boolean m_bInitialized
public ForwardCascadeDatabase()
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()
Copyright © 2023. All rights reserved.