gov.sns.ca.correlator
Class ChannelAgent.EventHandler

java.lang.Object
  |
  +--gov.sns.ca.correlator.ChannelAgent.EventHandler
All Implemented Interfaces:
IEventSinkValTime
Direct Known Subclasses:
ChannelAgent.FilteredEventHandler
Enclosing class:
ChannelAgent

protected class ChannelAgent.EventHandler
extends java.lang.Object
implements IEventSinkValTime

Handle the monitor events


Constructor Summary
protected ChannelAgent.EventHandler()
           
 
Method Summary
 void eventValue(ChannelTimeRecord record, Channel channel)
          Implement IEventSinkValTime interface Handle the monitor events for this channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelAgent.EventHandler

protected ChannelAgent.EventHandler()
Method Detail

eventValue

public void eventValue(ChannelTimeRecord record,
                       Channel channel)
Implement IEventSinkValTime interface Handle the monitor events for this channel. When the monitor fires, recycle the oldest bin. Clear all memory of events and assign the timestamp of the record to be the timestamp for the bin. Broadcast the event within the correlation world so that bins of all channel agents (not just this one) are notified of the event.

Specified by:
eventValue in interface IEventSinkValTime