001 /**
002 * Jetrix TetriNET Server
003 * Copyright (C) 2001-2004 Emmanuel Bourg
004 *
005 * This program is free software; you can redistribute it and/or
006 * modify it under the terms of the GNU General Public License
007 * as published by the Free Software Foundation; either version 2
008 * of the License, or (at your option) any later version.
009 *
010 * This program is distributed in the hope that it will be useful,
011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
013 * GNU General Public License for more details.
014 *
015 * You should have received a copy of the GNU General Public License
016 * along with this program; if not, write to the Free Software
017 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
018 */
019
020 package net.jetrix.protocols;
021
022 /**
023 * IRC commands.
024 *
025 * @since 0.2
026 *
027 * @author Emmanuel Bourg
028 * @version $Revision: 794 $, $Date: 2009-02-17 20:08:39 +0100 (Tue, 17 Feb 2009) $
029 */
030 public interface IRCCommand {
031
032 /**
033 * Password message
034 */
035 public static final String PASS = "PASS";
036
037 /**
038 * Nick message
039 */
040 public static final String NICK = "NICK";
041
042 /**
043 * User message
044 */
045 public static final String USER = "USER";
046
047 /**
048 * Server message
049 */
050 public static final String SERVER = "SERVER";
051
052 /**
053 * Opererator message
054 */
055 public static final String OPER = "OPER";
056
057 /**
058 * Quit message
059 */
060 public static final String QUIT = "QUIT";
061
062 /**
063 * Server quit message
064 */
065 public static final String SQUIT = "SQUIT";
066
067 /**
068 * Join message
069 */
070 public static final String JOIN = "JOIN";
071
072 /**
073 * Part message
074 */
075 public static final String PART = "PART";
076
077 /**
078 * Mode message
079 */
080 public static final String MODE = "MODE";
081
082 /**
083 * Topic message
084 */
085 public static final String TOPIC = "TOPIC";
086
087 /**
088 * Names message
089 */
090 public static final String NAMES = "NAMES";
091
092 /**
093 * List message
094 */
095 public static final String LIST = "LIST";
096
097 /**
098 * Invite message
099 */
100 public static final String INVITE = "INVITE ";
101
102 /**
103 * Kick command
104 */
105 public static final String KICK = "KICK";
106
107 /**
108 * Version message
109 */
110 public static final String VERSION = "VERSION";
111
112 /**
113 * Stats message
114 */
115 public static final String STATS = "STATS";
116
117 /**
118 * Links message
119 */
120 public static final String LINKS = "LINKS";
121
122 /**
123 * Time message
124 */
125 public static final String TIME = "TIME";
126
127 /**
128 * Connect message
129 */
130 public static final String CONNECT = "CONNECT";
131
132 /**
133 * Trace message
134 */
135 public static final String TRACE = "TRACE";
136
137 /**
138 * Admin command
139 */
140 public static final String ADMIN = "ADMIN";
141
142 /**
143 * Info command
144 */
145 public static final String INFO = "INFO ";
146
147 /**
148 * Private message
149 */
150 public static final String PRIVMSG = "PRIVMSG";
151
152 /**
153 * Notice message
154 */
155 public static final String NOTICE = "NOTICE";
156
157 /**
158 * Who query
159 */
160 public static final String WHO = "WHO";
161
162 /**
163 * Whois query
164 */
165 public static final String WHOIS = "WHOIS";
166
167 /**
168 * Whowas
169 */
170 public static final String WHOWAS = "WHOWAS";
171
172 /**
173 * Kill message
174 */
175 public static final String KILL = "KILL";
176
177 /**
178 * Ping message
179 */
180 public static final String PING = "PING ";
181
182 /**
183 * Pong message
184 */
185 public static final String PONG = "PONG";
186
187 /**
188 * Error
189 */
190 public static final String ERROR = "ERROR";
191
192 }