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
()
| 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 |
nothing calls this directly
no test coverage detected