|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimnet.PluginType
simnet.IPFilterPluginType
The PluginType that manages IPFilters.
| Constructor Summary | |
IPFilterPluginType()
|
|
| Method Summary | |
java.lang.Object |
findInstance(Node node,
java.lang.Class the_class,
java.lang.String[] args)
Find and return the instance of the specified class on the specified node that matches the given arguments. |
protected java.lang.String[] |
fixArgs(java.lang.String[] args)
Returns the argument list, with defaults added. |
protected java.util.Hashtable |
getFiltersHashtable(Node node,
java.lang.String dir)
Returns the in or out filters hash table at the specified node, null on error. |
protected java.util.Hashtable |
getLinksHashtable(Node node,
java.lang.String dir)
Returns the in or out links hash table at the specified node, null on error. |
java.lang.String |
getType()
Returns the name of the class that this plugin type is for. |
java.lang.String |
getUsage()
Returns a string describing how to use this type of plugin, suitable for being displayed by help. |
boolean |
initInstance(Node node,
java.lang.Object instance,
java.lang.String[] args)
Initialize the instance of an object that is passed to it, and "running" on the specified node. |
boolean |
isBatch(boolean in,
Node node,
java.lang.Class the_class,
java.lang.String[] args)
IP filters can be batch plugged in or out, for all links, and for both directions. |
boolean |
removeInstance(Node node,
java.lang.Class the_class,
java.lang.String[] args)
Remove the object specified (in the same way as findInstance) from its "primary location", as defined by this type of plugin. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IPFilterPluginType()
| Method Detail |
public java.lang.String getType()
getType in class PluginTypepublic java.lang.String getUsage()
getUsage in class PluginTypeprotected java.lang.String[] fixArgs(java.lang.String[] args)
protected java.util.Hashtable getLinksHashtable(Node node,
java.lang.String dir)
public boolean isBatch(boolean in,
Node node,
java.lang.Class the_class,
java.lang.String[] args)
isBatch in class PluginType
protected java.util.Hashtable getFiltersHashtable(Node node,
java.lang.String dir)
public java.lang.Object findInstance(Node node,
java.lang.Class the_class,
java.lang.String[] args)
findInstance in class PluginType
public boolean removeInstance(Node node,
java.lang.Class the_class,
java.lang.String[] args)
removeInstance in class PluginType
public boolean initInstance(Node node,
java.lang.Object instance,
java.lang.String[] args)
initInstance in class PluginType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||