|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTestPlugin
public class TestPlugin
Test plugin which replies to test and admin text with a short message.
| test | sends some text | |
|---|---|---|
| admintest | * | sends some text |
| Constructor Summary | |
|---|---|
TestPlugin()
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getCommands()
A list of commands that this plugins want to handle. |
java.lang.String[] |
getRestrictedCommands()
A list of restricted commands that this plugins want to handle. |
void |
handleEvent(IrcCommandEvent ice)
This method will be called whenever an event this plugin can handle occurs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestPlugin()
| Method Detail |
|---|
public java.lang.String[] getCommands()
Plugin
getCommands in interface Pluginpublic java.lang.String[] getRestrictedCommands()
Plugin
getRestrictedCommands in interface Pluginpublic void handleEvent(IrcCommandEvent ice)
PluginIrcCommandEvent will hold the information
necessary to find out which command was called.
handleEvent in interface Pluginice - the Event that occured
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||