|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.infoscape.proteus.router.Router
|
+--com.infoscape.proteus.router.SwitchedRouter
|
+--com.infoscape.proteus.router.XMLSwitch
An XMLSwitch has multiple sinks, and routes XML messages based on the value of a tag. A non-XML message passed to an XMLSwitch will go to the default destination if there is one, or none.
| Constructor Summary | |
XMLSwitch(org.jdom.Element elt)
|
|
| Method Summary | |
protected java.lang.String |
getMatch(java.lang.Object msg)
|
| Methods inherited from class com.infoscape.proteus.router.SwitchedRouter |
route |
| Methods inherited from class com.infoscape.proteus.router.Router |
addSink, commit, disconnect, getConnection, log, log, putMessage, reconnect, rollback, routeMessage, run, setSyncPoint |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLSwitch(org.jdom.Element elt)
throws java.lang.Exception
elt -
java.lang.Exception| Method Detail |
protected java.lang.String getMatch(java.lang.Object msg)
throws java.lang.Exception
getMatch in class SwitchedRoutermsg -
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||