blob: e9c7f67e756702b6f3ff23ababd954c7a1aebdad [file] [log] [blame]
Andrew Brown070dc892015-01-21 09:55:12 -08001/*
2 * File name: OnEvent.java
3 *
4 * Purpose: Interface for registering generic event handlers
5 *
6 * © Copyright Intel Corporation. All rights reserved.
7 * Intel Corporation, 2200 Mission College Boulevard,
8 * Santa Clara, CA 95052-8119, USA
9 */
10package com.intel.jndn.utils;
11
12/**
13 * Interface for registering generic event handlers. E.g.: observer.then((event)
14 * => doSomething(event.getFirst()));
15 *
16 * @author Andrew Brown <andrew.brown@intel.com>
17 */
18public interface OnEvent {
19 public void onEvent(ClientEvent event);
20}