|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.mud.jta.Plugin
Plugin base class for the Java Telnet Application. A plugin is a component for the PluginBus and may occur several times. If we have more than one plugin of the same type the protected value id contains the unique plugin id as configured in the configuration.
Maintainer: Matthias L. Jugel
Field Summary | |
protected PluginBus |
bus
holds the plugin bus used for communication between plugins |
protected java.lang.String |
id
in case we have several plugins of the same type this contains their unique id |
Constructor Summary | |
Plugin(PluginBus bus,
java.lang.String id)
Create a new plugin and set the plugin bus used by this plugin and the unique id. |
Method Summary | |
void |
error(java.lang.String msg)
Print an error message to stderr prepending the plugin name. |
java.lang.String |
getId()
Return identifier for this plugin. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected PluginBus bus
protected java.lang.String id
Constructor Detail |
public Plugin(PluginBus bus, java.lang.String id)
bus
- the plugin busid
- the unique plugin idMethod Detail |
public java.lang.String getId()
public void error(java.lang.String msg)
msg
- the error message
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |