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

Method close

app/src/main/java/javax/mail/Service.java:484–487  ·  view source on GitHub ↗

Close this service and terminate its connection. A close ConnectionEvent is delivered to any ConnectionListeners. Any Messaging components (Folders, Messages, etc.) belonging to this service are invalid after this service is closed. Note that the service is closed even if this method terminates abno

()

Source from the content-addressed store, hash-verified

482 * @throws MessagingException for errors while closing
483 */
484 public synchronized void close() throws MessagingException {
485 setConnected(false);
486 notifyConnectionListeners(ConnectionEvent.CLOSED);
487 }
488
489 /**
490 * Return a URLName representing this service. The returned URLName

Callers

nothing calls this directly

Calls 2

setConnectedMethod · 0.95

Tested by

no test coverage detected