public class BrowseConsumer extends java.lang.Object implements Consumer
| Constructor and Description |
|---|
BrowseConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(Context ctx,
Event event)
Consume an event; events may get filtered at the dispatcher level, hiding
it from the consumer.
|
void |
end(Context ctx)
Signal that there are no more events queued in this event stream and
event processing for the preceding consume calls should be finished up.
|
void |
finish(Context ctx)
Finish - free any allocated resources.
|
void |
initialize()
Initialize - allocate any resources required to operate.
|
public void initialize()
throws java.lang.Exception
Consumerinitialize in interface Consumerjava.lang.Exceptionpublic void consume(Context ctx, Event event) throws java.lang.Exception
Consumerpublic void end(Context ctx) throws java.lang.Exception
ConsumerCopyright © 2013 DuraSpace. All Rights Reserved.