Send the specified command.
(String cmd)
| 1190 | * Send the specified command. |
| 1191 | */ |
| 1192 | private void issueCommand(String cmd) throws IOException { |
| 1193 | if (socket == null) |
| 1194 | throw new IOException("Folder is closed"); // XXX |
| 1195 | |
| 1196 | if (cmd != null) { |
| 1197 | cmd += CRLF; |
| 1198 | output.print(cmd); // do it in one write |
| 1199 | output.flush(); |
| 1200 | } |
| 1201 | } |
| 1202 | |
| 1203 | /** |
| 1204 | * Read the response to a command. |
no test coverage detected