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

Method quit

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

Close down the connection, sending the QUIT command.

()

Source from the content-addressed store, hash-verified

794 * Close down the connection, sending the QUIT command.
795 */
796 synchronized boolean quit() throws IOException {
797 boolean ok = false;
798 try {
799 Response r = simpleCommand("QUIT");
800 ok = r.ok;
801 } finally {
802 close();
803 }
804 return ok;
805 }
806
807 /**
808 * Close the connection without sending any commands.

Callers 5

finalizeMethod · 0.95
cleanupAndThrowMethod · 0.45
closeMethod · 0.45
openMethod · 0.45
closeMethod · 0.45

Calls 2

simpleCommandMethod · 0.95
closeMethod · 0.95

Tested by

no test coverage detected