Top | ![]() |
![]() |
![]() |
![]() |
gboolean | e_backend_get_online () |
void | e_backend_set_online () |
ESource * | e_backend_get_source () |
void | e_backend_last_client_gone () |
An EBackend is paired with an ESource to facilitate performing actions on the local or remote resource described by the ESource.
In other words, whereas a certain backend type knows how to talk to a certain type of server or data store, the ESource fills in configuration details such as host name, user name, resource path, etc.
All EBackend instances are created by an EBackendFactory.
gboolean
e_backend_get_online (EBackend *backend
);
Returns the online state of backend
: TRUE
if backend
is online,
FALSE
if offline. The online state of each backend is bound to the
online state of the EDataFactory that created it.
Since 3.4
void e_backend_set_online (EBackend *backend
,gboolean online
);
Sets the online state of backend
: TRUE
if backend
is online,
FALSE
if offline. The online state of each backend is bound to
the online state of the EDataFactory that created it.
Since 3.4
ESource *
e_backend_get_source (EBackend *backend
);
Returns the ESource to which backend
is paired.
Since 3.4
void
e_backend_last_client_gone (EBackend *backend
);
Emits the “last-client-gone” signal to indicate the last
client connection to backend
has been closed. The backend
may be
finalized after a short period to reclaim resources if no new client
connections are established.
Since 3.4
“online”
property“online” gboolean
Whether the backend is online.
Flags: Read / Write / Construct
Default value: TRUE