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