java.lang.Object
nl.andrewl.concord_server.cli.command.ChannelCommand
- All Implemented Interfaces:
ServerCliCommand
Command for interacting with channels on the server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addChannel
(ConcordServer server, String[] args) void
handle
(ConcordServer server, String[] args) private void
listChannels
(ConcordServer server) private void
removeChannel
(ConcordServer server, String[] args)
-
Constructor Details
-
ChannelCommand
public ChannelCommand()
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceServerCliCommand
- Throws:
Exception
-
addChannel
- Throws:
IOException
-
removeChannel
- Throws:
IOException
-
listChannels
-