cfa.vo.iris.events
Interface IListener<SourceClass,PayloadClass>
- All Known Subinterfaces:
- LogListener, MultipleSegmentListener, PluginListener, PointListener, SedListener, SegmentListener, XSedListener, XSegmentListener
- All Known Implementing Classes:
- IrisDesktop
public interface IListener<SourceClass,PayloadClass>
Generic interface for listeners. Extending interfaces must constrain the parameter
to the class of sources of interest for the listener.
- Author:
- olaurino
Method Summary |
void |
process(SourceClass source,
PayloadClass payload)
Callback method that is called when an event to which this listener has subscribed is fired. |
process
void process(SourceClass source,
PayloadClass payload)
- Callback method that is called when an event to which this listener has subscribed is fired.
- Parameters:
source
- The object for which this event is being fired.command
- The EventCommand attached to the event.
Copyright © 2013. All rights reserved.