gumbo.util.route
Class RelayDataRouter

java.lang.Object
  |
  +--gumbo.util.route.EventRouter
        |
        +--gumbo.util.route.EventDataRouter
              |
              +--gumbo.util.route.RelayDataRouter

public class RelayDataRouter
extends EventDataRouter

Connects EventIn to EventIn, or EventOut to EventOut, one or two-way.

Version:
$Revision: 1.1 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.

Constructor Summary
RelayDataRouter(boolean connectAB, boolean connectBA)
           
 
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.
 
Methods inherited from class gumbo.util.route.EventDataRouter
checkDisconnect, isConnectAB, isConnectBA, sync
 
Methods inherited from class gumbo.util.route.EventRouter
connect, connect, disconnect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelayDataRouter

public RelayDataRouter(boolean connectAB,
                       boolean connectBA)
Method Detail

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 EventDataRouter