|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mina.example.chat.ChatCommand
public class ChatCommand
Encapsulates a chat command. Use valueOf(String) to create an
instance given a command string.
| Field Summary | |
|---|---|
static int |
BROADCAST
|
static int |
LOGIN
|
static int |
QUIT
|
| Method Summary | |
|---|---|
int |
toInt()
|
static ChatCommand |
valueOf(java.lang.String s)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int LOGIN
public static final int QUIT
public static final int BROADCAST
| Method Detail |
|---|
public int toInt()
public static ChatCommand valueOf(java.lang.String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||