org.opencredo.esper.sample
Class CallRecordingListener
java.lang.Object
org.opencredo.esper.sample.AbstractCallRecorder
org.opencredo.esper.sample.CallRecordingListener
- All Implemented Interfaces:
- com.espertech.esper.client.UpdateListener
public class CallRecordingListener
- extends AbstractCallRecorder
- implements com.espertech.esper.client.UpdateListener
A listener used for testing and sample purposes.
This class meets both the listener and subscriber contracts as offered by
Esper.
For a comparison of these contracts, see
http://esper.codehaus.org/esper-3.3.0
/doc/reference/en/html/api.html#api-receive-results
- Author:
- Russ Miles (russell.miles@opencredo.com)
|
Method Summary |
void |
update(com.espertech.esper.client.EventBean[] eventBeans)
|
void |
update(com.espertech.esper.client.EventBean[] eventBeans,
com.espertech.esper.client.EventBean[] eventBeans1)
|
void |
update(SampleEvent event)
Method used when this class is being used as a subscriber as opposed to a
listener. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallRecordingListener
public CallRecordingListener()
update
public void update(com.espertech.esper.client.EventBean[] eventBeans,
com.espertech.esper.client.EventBean[] eventBeans1)
- Specified by:
update in interface com.espertech.esper.client.UpdateListener
update
public void update(com.espertech.esper.client.EventBean[] eventBeans)
update
public void update(SampleEvent event)
- Method used when this class is being used as a subscriber as opposed to a
listener.
- Parameters:
event - The event detected
Copyright © 2011. All Rights Reserved.