public abstract class ChatCommand extends Object
| Constructor and Description |
|---|
ChatCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExit() |
static ChatCommand |
parse(String command)
Method parses chat command from the input String.
|
abstract void |
run(UDPNIOConnection connection) |
public static ChatCommand parse(String command) throws Exception
Exceptionpublic boolean isExit()
public abstract void run(UDPNIOConnection connection) throws Exception
ExceptionCopyright © 2021 Oracle Corporation. All rights reserved.