add isRouterContext() method

This commit is contained in:
zzz
2009-12-19 16:37:44 +00:00
parent 55682810b1
commit 08e54c515e
3 changed files with 17 additions and 2 deletions

View File

@ -379,4 +379,12 @@ public class RouterContext extends I2PAppContext {
}
}
/**
* Use this instead of context instanceof RouterContext
* @return true
* @since 0.7.9
*/
public boolean isRouterContext() {
return true;
}
}