| Top |
| pthread_mutex_t * | ags_server_get_class_mutex () |
| gboolean | ags_server_test_flags () |
| void | ags_server_set_flags () |
| void | ags_server_unset_flags () |
| AgsServerInfo * | ags_server_info_alloc () |
| void | ags_server_start () |
| void | ags_server_stop () |
| AgsServer * | ags_server_lookup () |
| AgsServer * | ags_server_new () |
| #define | AGS_IS_SERVER() |
| #define | AGS_SERVER() |
| #define | AGS_SERVER_CLASS() |
| #define | AGS_SERVER_GET_CLASS() |
| GType | ags_server_get_type () |
| AgsApplicationContext * | application-context | Read / Write |
| gchar * | domain | Read / Write |
| gchar * | ip4 | Read / Write |
| gchar * | ip6 | 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 |
| enum | AgsServerFlags |
| struct | AgsServerInfo |
| #define | AGS_TYPE_SERVER |
| struct | AgsServer |
| struct | AgsServerClass |
pthread_mutex_t *
ags_server_get_class_mutex ();
Use this function's returned mutex to access mutex fields.
Since: 2.0.0
gboolean ags_server_test_flags (AgsServer *server,guint flags);
Test flags
to be set on server
.
Since: 2.0.0
void ags_server_set_flags (AgsServer *server,guint flags);
Enable a feature of server
.
Since: 2.0.0
void ags_server_unset_flags (AgsServer *server,guint flags);
Disable a feature of server
.
Since: 2.0.0
AgsServerInfo * ags_server_info_alloc (gchar *server_name,gchar *uuid);
Allocate server info.
Since: 2.0.0
void
ags_server_start (AgsServer *server);
Start the XMLRPC-C abyss server.
Since: 2.0.0
void
ags_server_stop (AgsServer *server);
Stop the XMLRPC-C abyss server.
Since: 2.1.0
AgsServer *
ags_server_lookup (AgsServerInfo *server_info);
Lookup AgsServer by server_info
.
Since: 2.0.0
AgsServer *
ags_server_new (GObject *application_context);
Instantiate AgsServer.
Since: 2.0.0
#define AGS_SERVER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SERVER, AgsServer))
#define AGS_SERVER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SERVER, AgsServerClass))
#define AGS_SERVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SERVER, AgsServerClass))
Enum values to control the behavior or indicate internal state of AgsServer by enable/disable as flags.
|
indicates the application context was added to AgsRegistry |
||
|
the server was connected by |
||
|
the server was started |
||
|
the server is up and running |
||
|
use IPv4 |
||
|
use IPv6 |
||
|
listen on any address |
struct AgsServerInfo {
gchar *uuid;
gchar *server_name;
};
AgsServerInfo does identify the server and provides some basic information about it.
“application-context” property“application-context” AgsApplicationContext *
The assigned AgsApplicationContext
Flags: Read / Write
Since: 2.0.0
“domain” property“domain” gchar *
The domain to use.
Flags: Read / Write
Default value: NULL
Since: 2.1.0
“ip4” property“ip4” gchar *
The IPv4 address as string of the server.
Flags: Read / Write
Default value: NULL
Since: 2.1.0
“ip6” property“ip6” gchar *
The IPv6 address as string of the server.
Flags: Read / Write
Default value: NULL
Since: 2.1.0
“server-port” property“server-port” guint
The server port to use.
Flags: Read / Write
Default value: 8080
Since: 2.1.0