org.openorb.notify

Interface ConsumerAdapter

public interface ConsumerAdapter

A unifying interface to talk to different kinds consumers in a uniform way.

Author: Lars Kühne

See Also: PushConsumer SequencePushConsumer

Method Summary
voiddisconnect()
Disconnect the consumer.
voidpush(Event event)
Pushes an event to the underlying consumer, performing the necessary event transformations.

Method Detail

disconnect

public void disconnect()
Disconnect the consumer.

push

public void push(Event event)
Pushes an event to the underlying consumer, performing the necessary event transformations.

Parameters: event the event to push

See Also: