Service


Object Hierarchy:

Object hierarchy for Service

Description:

[ CCode ( type_id = "camel_service_get_type ()" ) ]
public abstract class Service : Object, Initable

Base class for mail access and sending services.

Service is an abstract base class that is the common parent of Store (mail storage and retrieval) and Transport (mail sending). It defines the common operations associated with a configured mail service.

Service instances are always created and managed by Session via camel_session_get_service. The session uses the GType stored in the Provider descriptor to instantiate the correct subclass.

Service manages the connection lifecycle: - connect establishes a connection to the remote resource. - disconnect tears it down. - Connection and authentication settings are conveyed via a URL (the URI passed when the service was first requested).

Authentication is handled asynchronously through the session's authenticate mechanism, which can prompt the user for credentials as needed.

The connection state is exposed as a ServiceConnectionStatus and signals are emitted when it changes.

All known sub-classes:
Required by:

Namespace: Camel
Package: camel-1.2

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from interface GLib.Initable