at.ac.tuwien.infosys.sm4all.copal.api.util
Interface Observer<E extends java.lang.Enum<?>,T>

Type Parameters:
E - the type of change represented as an Enum.
T - the type of changed object.
All Known Subinterfaces:
DeadLetterChannel.ChannelObserver, QueryObserver, RegistryObservable.RegistryObserver<T>
All Known Implementing Classes:
BasePublisher, EsperPublishing, ListenersActivator, NotifiersActivator, PolledPublisher, RESTfulPublisher, SimplePublisher, XMLEventNotifier

public interface Observer<E extends java.lang.Enum<?>,T>

Interface for classes that want to be used as observers of an BaseObservable.

Author:
sanjin

Method Summary
 void update(E change, T object)
          Called when specified change happened on specified object.
 

Method Detail

update

void update(E change,
            T object)
Called when specified change happened on specified object.

Parameters:
change - the change.
object - the changed object.


Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.