versus.meeting
Class MeetingDetector
java.lang.Object
|
+--solar.service.dan.GraphNode
|
+--solar.service.dan.Filter
|
+--solar.service.dan.Operator
|
+--versus.meeting.MeetingDetector
- All Implemented Interfaces:
- DanConstants, Identifiable
- public class MeetingDetector
- extends Operator
A primitive operator that detects the ongoing meeting based on badges attached
to chairs.
- Version:
- $Id: MeetingDetector.java,v 1.4 2003/09/19 00:38:32 glchen Exp $
- Author:
- Guanling Chen
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. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_room
private java.lang.String _room
_movingChairs
java.util.Set _movingChairs
_meetingStarted
boolean _meetingStarted
_started
long _started
_buffer
long[] _buffer
_status
boolean[] _status
MeetingDetector
public MeetingDetector()
init
public void init(serp.util.Options opts)
- Description copied from class:
GraphNode
- Customized initialization derived from graph spec.
- Overrides:
init
in class GraphNode
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
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
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception