|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Commands
Singleton that runs IRC /-commands. Commands are implemented via plugins
which listen for UserCommandMsg
.
Method Summary | |
---|---|
void |
doCommand(java.lang.String command,
Server contextServer,
IRCUserAddress contextNick,
java.lang.String contextChan,
MessageDisplay md,
boolean variables)
Carries out an IRC command. |
boolean |
isCommandCharacter(char c)
Returns true if the character (presumably first character of an IRC typed line) is a command character. |
Method Detail |
---|
void doCommand(java.lang.String command, Server contextServer, IRCUserAddress contextNick, java.lang.String contextChan, MessageDisplay md, boolean variables)
command
- Command stringcontextServer
- Context server that command applies tocontextNick
- Context nickname (may be null)contextChan
- Context channel (may be null)md
- Display to use for response/error messagesvariables
- If true, replaces variables in command (note: this is
currently not implemented and has no effect)boolean isCommandCharacter(char c)
c
- Character in question
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |