campus.syslog
Class APInfoOperator

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

public class APInfoOperator
extends Operator

An operator which added the some important infomation of APs and publishes it.

Version:
$Id: APInfoOperator.java,v 1.2 2003/09/19 00:38:23 glchen Exp $
Author:
Yurong Xu

Field Summary
private  APMapping aPMapping
           
 
Fields inherited from class solar.service.dan.GraphNode
_gid
 
Fields inherited from interface solar.service.dan.DanConstants
DAN_INPORT, DAN_OUTPORT
 
Constructor Summary
APInfoOperator()
           
 
Method Summary
 void handleEvent(Event evt)
          get APname and then search AP's info and publish them.
 java.lang.Object handleQuery(Request query)
          Handle the query being actively pulled by downstream operators.
 void init(serp.util.Options opts)
          Init the operator's floorplan and badge mapping tables specified in an XML file.
static void main(java.lang.String[] args)
          Method used for standalone test, not used when Operator mode.
 
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

aPMapping

private APMapping aPMapping
Constructor Detail

APInfoOperator

public APInfoOperator()
Method Detail

init

public void init(serp.util.Options opts)
          throws java.lang.Exception
Init the operator's floorplan and badge mapping tables specified in an XML file.

Overrides:
init in class GraphNode
java.lang.Exception

handleEvent

public void handleEvent(Event evt)
                 throws java.lang.Exception
get APname and then search AP's info and publish them.

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

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Method used for standalone test, not used when Operator mode.

java.lang.Exception