1 package hero.hook; 2 3 24 25 import hero.interfaces.BnNodeLocal; 26 import hero.util.HeroHookException; 27 28 public interface NodeHookI { 29 30 public void beforeStart(Object b,BnNodeLocal n) throws HeroHookException; 31 public void afterStart(Object b,BnNodeLocal n) throws HeroHookException; 32 public void beforeTerminate(Object b,BnNodeLocal n) throws HeroHookException; 33 public void afterTerminate(Object b,BnNodeLocal n) throws HeroHookException; 34 public void anticipate(Object b,BnNodeLocal n) throws HeroHookException; 35 public void onCancel(Object b,BnNodeLocal n) throws HeroHookException; 36 public void onDeadline(Object b,BnNodeLocal n) throws HeroHookException; 37 public void onReady(Object b,BnNodeLocal n) throws HeroHookException; 38 39 } 40 41 42 43 44 45 | Popular Tags |