org.terracotta.ipceventbus.event
Class EventListenerAdapter

java.lang.Object
  extended by org.terracotta.ipceventbus.event.EventListenerAdapter
All Implemented Interfaces:
EventListener

public class EventListenerAdapter
extends Object
implements EventListener

Author:
Mathieu Carbou

Constructor Summary
EventListenerAdapter()
           
 
Method Summary
 void onEvent(Event e)
          Listen for an event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventListenerAdapter

public EventListenerAdapter()
Method Detail

onEvent

public void onEvent(Event e)
             throws Throwable
Description copied from interface: EventListener
Listen for an event

Specified by:
onEvent in interface EventListener
Parameters:
e - The Event object
Throws:
Throwable - a listener can fail, and failure are handled by a ErrorListener


Copyright © 2015. All rights reserved.