Details
struct AgsServer
struct AgsServer {
GObject object;
guint flags;
#ifdef AGS_WITH_XMLRPC_C
TServer abyss_server;
TSocket *socket;
#endif
int socket_fd;
struct sockaddr_in address;
void *server_info;
GObject *main;
AgsRegistry *registry;
AgsRemoteTask *remote_task;
};
struct AgsServerClass
struct AgsServerClass {
GObjectClass object;
void (*start)(AgsServer *server);
};
enum AgsServerFlags
typedef enum {
AGS_SERVER_STARTED = 1,
AGS_SERVER_RUNNING = 1 << 1,
} AgsServerFlags;
ags_server_create_object ()
xmlrpc_value * ags_server_create_object (xmlrpc_env *env
,
xmlrpc_value *param_array
,
void *server_info
);
ags_server_lookup ()
AgsServer * ags_server_lookup (void *server_info
);
ags_server_new ()
AgsServer * ags_server_new (GObject *main
);
ags_server_object_set_property ()
xmlrpc_value * ags_server_object_set_property (xmlrpc_env *env
,
xmlrpc_value *param_array
,
void *server_info
);
ags_server_start ()
void ags_server_start (AgsServer *server
);