Top |
#define | AGS_OSC_SERVER_GET_OBJ_MUTEX() |
gboolean | ags_osc_server_test_flags () |
void | ags_osc_server_set_flags () |
void | ags_osc_server_unset_flags () |
void | ags_osc_server_add_connection () |
void | ags_osc_server_remove_connection () |
void | ags_osc_server_add_controller () |
void | ags_osc_server_remove_controller () |
void | ags_osc_server_add_default_controller () |
void | ags_osc_server_start () |
void | ags_osc_server_stop () |
gboolean | ags_osc_server_listen () |
void | ags_osc_server_dispatch () |
AgsOscServer * | ags_osc_server_new () |
gpointer | connection | Read / Write |
gpointer | controller | Read / Write |
char * | domain | Read / Write |
AgsOscFrontController * | front-controller | Read / Write |
char * | ip4 | Read / Write |
char * | ip6 | Read / Write |
guint | server-port | Read / Write |
#define | AGS_OSC_SERVER_DEFAULT_MAX_ADDRESS_LENGTH |
#define | AGS_OSC_SERVER_DEFAULT_SERVER_PORT |
#define | AGS_OSC_SERVER_DEFAULT_DOMAIN |
#define | AGS_OSC_SERVER_DEFAULT_INET4_ADDRESS |
#define | AGS_OSC_SERVER_DEFAULT_INET6_ADDRESS |
#define | AGS_OSC_SERVER_DEFAULT_BACKLOG |
#define | AGS_OSC_SERVER_DEFAULT_MAX_CONNECTIONS |
enum | AgsOscServerFlags |
#define AGS_OSC_SERVER_GET_OBJ_MUTEX(obj) (&(((AgsOscServer *) obj)->obj_mutex))
gboolean ags_osc_server_test_flags (AgsOscServer *osc_server
,AgsOscServerFlags flags
);
Test flags
to be set on osc_server
.
Since: 3.0.0
void ags_osc_server_set_flags (AgsOscServer *osc_server
,AgsOscServerFlags flags
);
Set flags.
Since: 3.0.0
void ags_osc_server_unset_flags (AgsOscServer *osc_server
,AgsOscServerFlags flags
);
Unset flags.
Since: 3.0.0
void ags_osc_server_add_connection (AgsOscServer *osc_server
,GObject *osc_connection
);
Add osc_connection
to osc_server
.
Since: 3.0.0
void ags_osc_server_remove_connection (AgsOscServer *osc_server
,GObject *osc_connection
);
Remove osc_connection
from osc_server
.
Since: 3.0.0
void ags_osc_server_add_controller (AgsOscServer *osc_server
,GObject *osc_controller
);
Add osc_controller
to osc_server
.
Since: 3.0.0
void ags_osc_server_remove_controller (AgsOscServer *osc_server
,GObject *osc_controller
);
Remove osc_controller
from osc_server
.
Since: 3.0.0
void
ags_osc_server_add_default_controller (AgsOscServer *osc_server
);
Add default controlers to osc_server
.
Since: 3.0.0
void
ags_osc_server_start (AgsOscServer *osc_server
);
Start OSC server.
Since: 3.0.0
void
ags_osc_server_stop (AgsOscServer *osc_server
);
Stop OSC server.
Since: 3.0.0
gboolean
ags_osc_server_listen (AgsOscServer *osc_server
);
Listen as OSC server.
Since: 3.0.0
void
ags_osc_server_dispatch (AgsOscServer *osc_server
);
Dispatch the OSC server.
Since: 3.0.0
AgsOscServer * ags_osc_server_new ();
Creates a new instance of AgsOscServer
Since: 3.0.0
Enum values to control the behavior or indicate internal state of AgsOscServer by enable/disable as flags.
“connection”
property “connection” gpointer
The assigned AgsOscConnection providing default settings.
[transfer full]
Owner: AgsOscServer
Flags: Read / Write
Since: 3.0.0
“controller”
property “controller” gpointer
The assigned AgsOscController providing default settings.
[transfer full]
Owner: AgsOscServer
Flags: Read / Write
Since: 3.0.0
“domain”
property “domain” char *
The domain to use.
Owner: AgsOscServer
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“front-controller”
property“front-controller” AgsOscFrontController *
The assigned AgsOscFrontController.
Owner: AgsOscServer
Flags: Read / Write
Since: 3.0.0
“ip4”
property “ip4” char *
The IPv4 address as string of the server.
Owner: AgsOscServer
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“ip6”
property “ip6” char *
The IPv6 address as string of the server.
Owner: AgsOscServer
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“dispatch”
signalvoid user_function (AgsOscServer *osc_server, gpointer user_data)
The ::dispatch signal is emited during dispatch of server.
osc_server |
the AgsOscServer |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“listen”
signalgboolean user_function (AgsOscServer *osc_server, gpointer user_data)
The ::listen signal is emited during listen of server.
osc_server |
the AgsOscServer |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“start”
signalvoid user_function (AgsOscServer *osc_server, gpointer user_data)
The ::start signal is emited during start of server.
osc_server |
the AgsOscServer |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“stop”
signalvoid user_function (AgsOscServer *osc_server, gpointer user_data)
The ::stop signal is emited during stop of server.
osc_server |
the AgsOscServer |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0