blob: ff8f168cdd69a79bd5b886afb29ecba28d85128c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package f00f.net.irc.martyr;
/**
* Defines an object which is a command, either incoming or outgoing.
*/
public interface Command
{
/**
* Returns the string IRC uses to identify this command. Examples:
* NICK, PING, KILL, 332. Not strictly required for OutCommands
* as the irc identifier is expected to be part of the reder()
* result.
*
* @return The IRC identifier string
*/
String getIrcIdentifier();
}
|