gumbo.util.route
Class StrictGroupRouter
java.lang.Object
|
+--gumbo.util.route.EventRouter
|
+--gumbo.util.route.EventGroupRouter
|
+--gumbo.util.route.StrictGroupRouter
- public class StrictGroupRouter
- extends EventGroupRouter
- Version:
- $Revision: 1.1 $
- Author:
- Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.
Method Summary |
protected boolean |
checkConnect(int indexA,
EventNode nodeA,
int indexB,
EventNode nodeB)
Implementors should throw an exception if the nodes are incompatible
for connection, and return false if the connection should be silently
ignored. |
java.lang.Class |
getTypeA()
|
java.lang.Class |
getTypeB()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StrictGroupRouter
public StrictGroupRouter(java.lang.Class typeA,
java.lang.Class typeB)
getTypeA
public final java.lang.Class getTypeA()
getTypeB
public final java.lang.Class getTypeB()
checkConnect
protected boolean checkConnect(int indexA,
EventNode nodeA,
int indexB,
EventNode nodeB)
- Description copied from class:
EventRouter
- Implementors should throw an exception if the nodes are incompatible
for connection, and return false if the connection should be silently
ignored.
- Overrides:
checkConnect
in class EventGroupRouter