AgsServiceProvider

AgsServiceProvider

Functions

Types and Values

Object Hierarchy

    GInterface
    ╰── AgsServiceProvider

Known Implementations

AgsServiceProvider is implemented by AgsServerApplicationContext.

Description

Functions

ags_service_provider_is_operating ()

gboolean
ags_service_provider_is_operating (AgsServiceProvider *service_provider);

Check if is operating.

Parameters

service_provider

the AgsServiceProvider

 

Returns

TRUE if operating, otherwise FALSE

Since: 1.0.0


ags_service_provider_server_status ()

AgsServerStatus *
ags_service_provider_server_status (AgsServiceProvider *service_provider);

Get server status.

Parameters

service_provider

the AgsServiceProvider

 

Returns

the AgsServerStatus

Since: 1.0.0


ags_service_provider_get_env ()

gpointer
ags_service_provider_get_env (AgsServiceProvider *service_provider);

Get xmlrpc_env.

Parameters

service_provider

the AgsServiceProvider

 

Returns

the xmlrpc_env

Since: 1.0.0


ags_service_provider_set_registry ()

void
ags_service_provider_set_registry (AgsServiceProvider *service_provider,
                                   GObject *registry);

Set registry.

Parameters

service_provider

the AgsServiceProvider

 

registry

the AgsRegistry

 

Since: 1.0.0


ags_service_provider_get_registry ()

GObject *
ags_service_provider_get_registry (AgsServiceProvider *service_provider);

Get registry.

Parameters

service_provider

the AgsServiceProvider

 

Returns

the AgsRegistry

Since: 1.0.0


ags_service_provider_set_server ()

void
ags_service_provider_set_server (AgsServiceProvider *service_provider,
                                 GList *server);

Set server.

Parameters

service_provider

the AgsServiceProvider

 

server

the GList containing AgsServer

 

Since: 1.0.0


ags_service_provider_get_server ()

GList *
ags_service_provider_get_server (AgsServiceProvider *service_provider);

Get server.

Parameters

service_provider

the AgsServiceProvider

 

Returns

the GList containing AgsServer

Since: 1.0.0


ags_service_provider_set_certificate_manager ()

void
ags_service_provider_set_certificate_manager
                               (AgsServiceProvider *service_provider,
                                AgsCertificateManager *certificate_manager);

Set certificate manager.

Parameters

service_provider

the AgsServiceProvider

 

certificate_manager

the AgsCertificateManager

 

Since: 1.0.0


ags_service_provider_get_certificate_manager ()

AgsCertificateManager *
ags_service_provider_get_certificate_manager
                               (AgsServiceProvider *service_provider);

Get certificate manager.

Parameters

service_provider

the AgsServiceProvider

 

Returns

the AgsCertificateManager

Since: 1.0.0


ags_service_provider_set_password_store_manager ()

void
ags_service_provider_set_password_store_manager
                               (AgsServiceProvider *service_provider,
                                AgsPasswordStoreManager *password_store_manager);

Set password store manager.

Parameters

service_provider

the AgsServiceProvider

 

password_store_manager

the AgsPasswordStoreManager

 

Since: 1.0.0


ags_service_provider_get_password_store_manager ()

AgsPasswordStoreManager *
ags_service_provider_get_password_store_manager
                               (AgsServiceProvider *service_provider);

Get password store manager.

Parameters

service_provider

the AgsServiceProvider

 

Since: 1.0.0


ags_service_provider_set_authentication_manager ()

void
ags_service_provider_set_authentication_manager
                               (AgsServiceProvider *service_provider,
                                AgsAuthenticationManager *authentication_manager);

Set authentication manager.

Parameters

service_provider

the AgsServiceProvider

 

authentication_manager

the AgsAuthenticationManager

 

Since: 1.0.0


ags_service_provider_get_authentication_manager ()

AgsAuthenticationManager *
ags_service_provider_get_authentication_manager
                               (AgsServiceProvider *service_provider);

Get authentication manager.

Parameters

service_provider

the AgsServiceProvider

 

Since: 1.0.0


AGS_IS_SERVICE_PROVIDER()

#define AGS_IS_SERVICE_PROVIDER(obj)                 (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SERVICE_PROVIDER))

AGS_IS_SERVICE_PROVIDER_INTERFACE()

#define AGS_IS_SERVICE_PROVIDER_INTERFACE(vtable)    (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_SERVICE_PROVIDER))

AGS_SERVICE_PROVIDER()

#define AGS_SERVICE_PROVIDER(obj)                    (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SERVICE_PROVIDER, AgsServiceProvider))

AGS_SERVICE_PROVIDER_GET_INTERFACE()

#define AGS_SERVICE_PROVIDER_GET_INTERFACE(obj)      (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_SERVICE_PROVIDER, AgsServiceProviderInterface))

AGS_SERVICE_PROVIDER_INTERFACE()

#define AGS_SERVICE_PROVIDER_INTERFACE(vtable)       (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_SERVICE_PROVIDER, AgsServiceProviderInterface))

ags_service_provider_get_type ()

GType
ags_service_provider_get_type ();

Types and Values

AGS_TYPE_SERVICE_PROVIDER

#define AGS_TYPE_SERVICE_PROVIDER                    (ags_service_provider_get_type())

AgsServiceProvider

typedef struct _AgsServiceProvider AgsServiceProvider;

struct AgsServiceProviderInterface

struct AgsServiceProviderInterface {
  GTypeInterface ginterface;
  
  gboolean (*is_operating)(AgsServiceProvider *service_provider);
  AgsServerStatus* (*server_status)(AgsServiceProvider *service_provider);

  gpointer (*get_env)(AgsServiceProvider *service_provider);
  
  void (*set_registry)(AgsServiceProvider *service_provider,
		       GObject *registry);
  GObject* (*get_registry)(AgsServiceProvider *service_provider);
  
  void (*set_server)(AgsServiceProvider *service_provider,
		     GList *server);
  GList* (*get_server)(AgsServiceProvider *service_provider);

  void (*set_certificate_manager)(AgsServiceProvider *service_provider,
				  AgsCertificateManager *certificate_manager);
  AgsCertificateManager* (*get_certificate_manager)(AgsServiceProvider *service_provider);

  void (*set_password_store_manager)(AgsServiceProvider *service_provider,
				     AgsPasswordStoreManager *password_store_manager);
  AgsPasswordStoreManager* (*get_password_store_manager)(AgsServiceProvider *service_provider);

  void (*set_authentication_manager)(AgsServiceProvider *service_provider,
				     AgsAuthenticationManager *authentication_manager);
  AgsAuthenticationManager* (*get_authentication_manager)(AgsServiceProvider *service_provider);
};