Interface CommandSender
- All Known Implementing Classes:
Client,ClientHandler,GameManager
public interface CommandSender
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close listening socket and/or thread.voidsendCommand(String command) Send command.
-
Method Details
-
sendCommand
Send command.- Parameters:
command-Stringrepresented command.
-
close
Close listening socket and/or thread.- Throws:
Exception- on closing
-