versus
Class VersusFilter

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

public class VersusFilter
extends Operator

A versus-event filter based on the name atrribute.

Version:
$Id: VersusFilter.java,v 1.4 2003/09/19 00:38:32 glchen Exp $
Author:
Guanling Chen

Field Summary
protected  java.lang.String _name
           
 
Fields inherited from class solar.service.dan.GraphNode
_gid
 
Fields inherited from interface solar.service.dan.DanConstants
DAN_INPORT, DAN_OUTPORT
 
Constructor Summary
VersusFilter()
           
 
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.
 void init(serp.util.Options opts)
          Customized initialization derived from graph spec.
 
Methods inherited from class solar.service.dan.GraphNode
getId, getInputPorts, getOutputPorts, handleEvent, handleQuery, init, publish, publish, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_name

protected java.lang.String _name
Constructor Detail

VersusFilter

public VersusFilter()
Method Detail

init

public void init(serp.util.Options opts)
          throws java.lang.Exception
Description copied from class: GraphNode
Customized initialization derived from graph spec.

Overrides:
init in class GraphNode
java.lang.Exception

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