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
Exception
public boolean isExit()
public abstract void run(UDPNIOConnection connection) throws Exception
Exception
Copyright © 2015 Oracle Corporation. All rights reserved.