solar.service.dan
Class RelayOperator

java.lang.Object
  |
  +--solar.service.dan.GraphNode
        |
        +--solar.service.dan.Filter
              |
              +--solar.service.dan.Operator
                    |
                    +--solar.service.dan.RelayOperator
All Implemented Interfaces:
DanConstants, Identifiable

public class RelayOperator
extends Operator

A simple operator relay events and requests.

Version:
$Id: RelayOperator.java,v 1.2 2003/09/26 03:46:15 glchen Exp $
Author:
Guanling Chen

Field Summary
protected  org.apache.log4j.Logger _log
           
 
Fields inherited from class solar.service.dan.GraphNode
_gid
 
Fields inherited from interface solar.service.dan.DanConstants
DAN_INPORT, DAN_OUTPORT
 
Constructor Summary
RelayOperator()
           
 
Method Summary
 void handleEvent(Event evt)
          Handle the event being actively pushed/published to this operator.
 java.lang.Object handleQuery(Request query)
          Handle the query being actively pulled by downstream operators.
 
Methods inherited from class solar.service.dan.GraphNode
getId, getInputPorts, getOutputPorts, handleEvent, handleQuery, init, init, publish, publish, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_log

protected org.apache.log4j.Logger _log
Constructor Detail

RelayOperator

public RelayOperator()
Method Detail

handleEvent

public void handleEvent(Event evt)
                 throws java.lang.Exception
Description copied from class: GraphNode
Handle the event being actively pushed/published to this operator.

Specified by:
handleEvent in class GraphNode
java.lang.Exception

handleQuery

public java.lang.Object handleQuery(Request query)
                             throws java.lang.Exception
Description copied from class: GraphNode
Handle the query being actively pulled by downstream operators.

Specified by:
handleQuery in class GraphNode
java.lang.Exception