MCPcopy Create free account
hub / github.com/M66B/FairEmail / issueCommand

Method issueCommand

app/src/main/java/com/sun/mail/pop3/Protocol.java:1192–1201  ·  view source on GitHub ↗

Send the specified command.

(String cmd)

Source from the content-addressed store, hash-verified

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.

Callers 4

loginMethod · 0.95
retrMethod · 0.95
simpleCommandMethod · 0.95
multilineCommandMethod · 0.95

Calls 2

printMethod · 0.80
flushMethod · 0.45

Tested by

no test coverage detected