net.sourceforge.hiveevents
Interface Consumer<T>

All Known Subinterfaces:
Channel<T>, PersistentConsumer<T>
All Known Implementing Classes:
ChannelImpl, SyncChannelImpl

public interface Consumer<T>

General interface of a consumer (in push-model) for any kind of event.

Author:
Jean-Francois Poilpret

Method Summary
 void push(T event)
          Called by an event supplier (eg a Channel) to notify an event.
 

Method Detail

push

void push(T event)
Called by an event supplier (eg a Channel) to notify an event.

Parameters:
event - the event notified (can be anything)