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

Method simpleCommand

app/src/main/java/com/sun/mail/iap/Protocol.java:440–450  ·  view source on GitHub ↗

Convenience routine to handle simple IAP commands that do not have responses specific to that command. @param cmd the command @param args the arguments @exception ProtocolException for protocol failures

(String cmd, Argument args)

Source from the content-addressed store, hash-verified

438 * @exception ProtocolException for protocol failures
439 */
440 public void simpleCommand(String cmd, Argument args)
441 throws ProtocolException {
442 // Issue command
443 Response[] r = command(cmd, args);
444
445 // dispatch untagged responses
446 notifyResponseHandlers(r);
447
448 // Handle result of this command
449 handleResult(r[r.length-1]);
450 }
451
452 /**
453 * Start TLS on the current connection.

Callers 15

startTLSMethod · 0.95
startCompressionMethod · 0.95
noopMethod · 0.45
proxyauthMethod · 0.45
unauthenticateMethod · 0.45
enableMethod · 0.45
unselectMethod · 0.45
createMethod · 0.45
deleteMethod · 0.45
renameMethod · 0.45
subscribeMethod · 0.45
unsubscribeMethod · 0.45

Calls 3

commandMethod · 0.95
handleResultMethod · 0.95

Tested by

no test coverage detected