|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Plugin
An extension for the irc client. Plugins may be loaded and unloaded
at runtime. Plugins must either offer the default constructor or
a constructor with 1 String as argument. This will be called
preferably (default is fallback). The argument will be the network
name.
Plugins have to be in the default package in order to be loaded.
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. |
Method Detail |
---|
java.lang.String[] getCommands()
java.lang.String[] getRestrictedCommands()
void handleEvent(IrcCommandEvent ice)
IrcCommandEvent
will hold the information
necessary to find out which command was called.
ice
- the Event that occured
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |