summaryrefslogtreecommitdiffstats
path: root/EssentialsUpdate/src/f00f/net/irc/martyr/OutCommand.java
blob: 9e25c9ce9152a0c33f288a24d68cbc7b35b3df33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package f00f.net.irc.martyr;

/**
 * Defines an outgoing command.  Outgoing commands are very simple
 * because all they need to do is be rendered.  Outgoing commands do
 * not change our state.
 */
public interface OutCommand extends Command
{

    /**
     * Forms a string appropriate to send to the server, if required.
     * Some commands will have no such string, as they are received and not
     * sent.  The string returned is sent to the server verbatim.
     *
     * @return Rendered string
     */
    String render();

}