commit | cf2df32026c57e27538ff555ac1a145735f09e8f | [log] [tgz] |
---|---|---|
author | Andrew Brown <andrew.brown@intel.com> | Tue Jan 27 09:27:52 2015 -0800 |
committer | Andrew Brown <andrew.brown@intel.com> | Tue Jan 27 09:27:52 2015 -0800 |
tree | b4d00e724f266cde7df3e80a9347da3d45002890 | |
parent | 9e5d9415e3dae08ae9b0818182899a36d510098a [diff] [blame] |
All events should trigger observer callback
diff --git a/src/main/java/com/intel/jndn/utils/NDNObserver.java b/src/main/java/com/intel/jndn/utils/NDNObserver.java index 5b9ddd9..c6d820e 100644 --- a/src/main/java/com/intel/jndn/utils/NDNObserver.java +++ b/src/main/java/com/intel/jndn/utils/NDNObserver.java
@@ -45,7 +45,7 @@ NDNEvent event = (NDNEvent) arg; events.add(event); // call onData callbacks - if (Data.class.isInstance(event.packet) && then != null) { + if (then != null) { then.onEvent(event); } }