cat.sig
Class Node

java.lang.Object
  extended bycat.sig.Node

class Node
extends java.lang.Object

This class is for the SigManager only. It matches a Sensor with all the sigs that care about it. Provides an easy way for the SigManager to know which sensors are shared in which sigs.


Field Summary
(package private)  Sensor sensor
          The sensor in this node to match with sigs.
(package private)  java.util.Vector sigs
          sigs that are interested in this sensor
 
Constructor Summary
Node(Sensor s)
          This constructor sets up the Node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sensor

Sensor sensor
The sensor in this node to match with sigs.


sigs

java.util.Vector sigs
sigs that are interested in this sensor

Constructor Detail

Node

public Node(Sensor s)
This constructor sets up the Node. There shuold be a node for every sensor, and each node may have none or many sigs.

Parameters:
s - The sensor to match up with sigs