Interface DIEventListener

All Superinterfaces:
All Known Implementing Classes:
JMXServerAPIListener, LogCommand, TombstoneManagerListener

public interface DIEventListener
extends EventListener

This is a base EventListener for Server API events.

In order to listen for events an implementation of this class should be provided by the user. Then reference to this implementation could be added/removed with some of these methods:

Method Summary
 void handleEvent(DIEvent aEvent)
          Handles a specified event.

Method Detail


void handleEvent(DIEvent aEvent)
                 throws DIException
Handles a specified event.

aEvent - the event which needs to be handled.
DIException - if an error occurs while trying to handle the event.