Top |
FolksWebServiceFieldDetailsFolksWebServiceFieldDetails — Object representing a web service contact that can have some parameters associated with it. |
GInterface ╰── FolksWebServiceDetails GObject ╰── FolksAbstractFieldDetails ╰── FolksWebServiceFieldDetails
#define FOLKS_TYPE_WEB_SERVICE_FIELD_DETAILS (folks_web_service_field_details_get_type ())
The type for FolksWebServiceFieldDetails.
FolksWebServiceFieldDetails * folks_web_service_field_details_new (const gchar *value
,GeeMultiMap *parameters
);
Create a new WebServiceFieldDetails.
value |
. the value of the field, a non-empty web service address . |
[in] |
parameters |
. initial parameters. See "parameters". A . |
[in][allow-none] |
Since 0.6.0
void folks_web_service_details_change_web_service_addresses (FolksWebServiceDetails *self
,GeeMultiMap *web_service_addresses
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
Change the contact's web service addresses.
It's preferred to call this rather than setting "web-service-addresses" directly, as this method gives error notification and will only return once the addresses have been written to the relevant backing store (or the operation's failed).
FolksPropertyError will be returned in error
if setting the addresses failed
See also: folks_web_service_details_change_web_service_addresses_finish()
self |
the FolksWebServiceDetails instance |
|
web_service_addresses |
. the set of addresses . |
[in] |
_callback_ |
callback to call when the request is satisfied. |
[scope async] |
_user_data_ |
the data to pass to |
[closure] |
Since 0.6.2
void folks_web_service_details_change_web_service_addresses_finish (FolksWebServiceDetails *self
,GAsyncResult *_res_
,GError **error
);
Change the contact's web service addresses.
It's preferred to call this rather than setting "web-service-addresses" directly, as this method gives error notification and will only return once the addresses have been written to the relevant backing store (or the operation's failed).
FolksPropertyError will be returned in error
if setting the addresses failed
See also: folks_web_service_details_change_web_service_addresses()
self |
the FolksWebServiceDetails instance |
|
_res_ |
||
error |
location to store the error occuring, or |
[error-domains FolksPropertyError] |
Since 0.6.2
GeeMultiMap *
folks_web_service_details_get_web_service_addresses
(FolksWebServiceDetails *self
);
Get and return the current value of the "web-service-addresses" property.
A mapping of web service to an (unordered) set of web service addresses.
Each mapping is from an arbitrary web service identifier to a set of web service addresses for the contact, listed in no particular order.
Web service addresses are guaranteed to be unique per web service, but not necessarily unique amongst all web services.
Since 0.6.0
void folks_web_service_details_set_web_service_addresses (FolksWebServiceDetails *self
,GeeMultiMap *value
);
Set the value of the "web-service-addresses" property to value
.
A mapping of web service to an (unordered) set of web service addresses.
Each mapping is from an arbitrary web service identifier to a set of web service addresses for the contact, listed in no particular order.
Web service addresses are guaranteed to be unique per web service, but not necessarily unique amongst all web services.
self |
the FolksWebServiceDetails instance to modify |
|
value |
the new value of the "web-service-addresses" property |
Since 0.6.0
struct FolksWebServiceFieldDetails;
Object representing a web service contact that can have some parameters associated with it.
See FolksAbstractFieldDetails.
Since 0.6.0
struct FolksWebServiceFieldDetailsClass { FolksAbstractFieldDetailsClass parent_class; };
The class structure for FOLKS_TYPE_WEB_SERVICE_FIELD_DETAILS
. All the fields in this structure are private and should never be accessed directly.
typedef struct _FolksWebServiceDetails FolksWebServiceDetails;
Web service contact details.
Since 0.5.0
struct FolksWebServiceDetailsIface { GTypeInterface parent_iface; void (*change_web_service_addresses) (FolksWebServiceDetails* self, GeeMultiMap* web_service_addresses, GAsyncReadyCallback _callback_, gpointer _user_data_); void (*change_web_service_addresses_finish) (FolksWebServiceDetails* self, GAsyncResult* _res_, GError** error); GeeMultiMap* (*get_web_service_addresses) (FolksWebServiceDetails* self); void (*set_web_service_addresses) (FolksWebServiceDetails* self, GeeMultiMap* value); };
Interface for creating FolksWebServiceDetails implementations.
GTypeInterface |
the parent interface structure |
|
virtual method called by |
||
asynchronous finish function for |
||
getter method for the abstract property "web-service-addresses" |
||
setter method for the abstract property "web-service-addresses" |
“web-service-addresses”
property “web-service-addresses” GeeMultiMap *
A mapping of web service to an (unordered) set of web service addresses.
Each mapping is from an arbitrary web service identifier to a set of web service addresses for the contact, listed in no particular order.
Web service addresses are guaranteed to be unique per web service, but not necessarily unique amongst all web services.
Flags: Read / Write
Since 0.6.0