disconnect_sync


Description:

public virtual bool disconnect_sync (Cancellable? cancellable = null) throws Error

This is called when the backend goes into offline mode or when the disconnect is required.

The implementation should not report any error when it is called and the this is not connected.

It is mandatory to implement this virtual method by the descendant.

Parameters:

this

an CalMetaBackend

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.