blob: e9c7f67e756702b6f3ff23ababd954c7a1aebdad [file] [log] [blame]
/*
* File name: OnEvent.java
*
* Purpose: Interface for registering generic event handlers
*
* © Copyright Intel Corporation. All rights reserved.
* Intel Corporation, 2200 Mission College Boulevard,
* Santa Clara, CA 95052-8119, USA
*/
package com.intel.jndn.utils;
/**
* Interface for registering generic event handlers. E.g.: observer.then((event)
* => doSomething(event.getFirst()));
*
* @author Andrew Brown <andrew.brown@intel.com>
*/
public interface OnEvent {
public void onEvent(ClientEvent event);
}