Top |
#define | AGS_SERVER_GET_OBJ_MUTEX() |
gboolean | ags_server_test_flags () |
void | ags_server_set_flags () |
void | ags_server_unset_flags () |
AgsServerInfo * | ags_server_info_alloc () |
void | ags_server_add_controller () |
void | ags_server_remove_controller () |
void | ags_server_start () |
void | ags_server_stop () |
gboolean | ags_server_listen () |
AgsServer * | ags_server_new () |
gpointer | controller | Read / Write |
char * | domain | Read / Write |
AgsFrontController * | front-controller | Read / Write |
char * | ip4 | Read / Write |
char * | ip6 | Read / Write |
char * | path | Read / Write |
char * | realm | Read / Write |
guint | server-port | Read / Write |
#define | AGS_SERVER_DEFAULT_SERVER_PORT |
#define | AGS_SERVER_DEFAULT_DOMAIN |
#define | AGS_SERVER_DEFAULT_INET4_ADDRESS |
#define | AGS_SERVER_DEFAULT_INET6_ADDRESS |
#define | AGS_SERVER_DEFAULT_AUTH_MODULE |
#define | AGS_SERVER_DEFAULT_BACKLOG |
enum | AgsServerFlags |
struct | AgsServerInfo |
The AgsServer is a XML-RPC server supporting authentication. See AgsXmlPasswordStore for a built-in authentication module using XML password files.
#define AGS_SERVER_GET_OBJ_MUTEX(obj) (&(((AgsServer *) obj)->obj_mutex))
gboolean ags_server_test_flags (AgsServer *server
,AgsServerFlags flags
);
Test flags
to be set on server
.
Since: 3.0.0
void ags_server_set_flags (AgsServer *server
,AgsServerFlags flags
);
Enable a feature of server
.
Since: 3.0.0
void ags_server_unset_flags (AgsServer *server
,AgsServerFlags flags
);
Disable a feature of server
.
Since: 3.0.0
AgsServerInfo * ags_server_info_alloc (gchar *server_name
,gchar *uuid
);
Allocate server info.
Since: 3.0.0
void ags_server_add_controller (AgsServer *server
,GObject *controller
);
Add controller
to server
.
Since: 3.0.0
void ags_server_remove_controller (AgsServer *server
,GObject *controller
);
Remove controller
from server
.
Since: 3.0.0
void
ags_server_start (AgsServer *server
);
Start the XMLRPC-C abyss server.
Since: 3.0.0
void
ags_server_stop (AgsServer *server
);
Stop the XMLRPC-C abyss server.
Since: 3.0.0
Enum values to control the behavior or indicate internal state of AgsServer by enable/disable as flags.
struct AgsServerInfo { gchar *uuid; gchar *server_name; };
AgsServerInfo does identify the server and provides some basic information about it.
“controller”
property “controller” gpointer
The assigned AgsController providing default settings.
[transfer full]
Owner: AgsServer
Flags: Read / Write
Since: 3.0.0
“domain”
property “domain” char *
The domain to use.
Owner: AgsServer
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“front-controller”
property“front-controller” AgsFrontController *
The assigned AgsFrontController.
Owner: AgsServer
Flags: Read / Write
Since: 3.0.0
“ip4”
property “ip4” char *
The IPv4 address as string of the server.
Owner: AgsServer
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“ip6”
property “ip6” char *
The IPv6 address as string of the server.
Owner: AgsServer
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“path”
property “path” char *
The path to use.
Owner: AgsServer
Flags: Read / Write
Default value: NULL
Since: 4.0.0
“realm”
property “realm” char *
The realm to use.
Owner: AgsServer
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“listen”
signalgboolean user_function (AgsServer *server, gpointer user_data)
The ::listen signal is emited during listen of server.
Flags: Run Last
Since: 3.0.0
“start”
signalvoid user_function (AgsServer *server, gpointer user_data)
The ::start signal is emitted as the server starts.
Flags: Run Last
Since: 3.0.0