Top |
#define | AGS_OSC_CLIENT_GET_OBJ_MUTEX() |
gboolean | ags_osc_client_test_flags () |
void | ags_osc_client_set_flags () |
void | ags_osc_client_unset_flags () |
void | ags_osc_client_resolve () |
void | ags_osc_client_connect () |
guchar * | ags_osc_client_read_bytes () |
gboolean | ags_osc_client_write_bytes () |
AgsOscClient * | ags_osc_client_new () |
char * | domain | Read / Write |
char * | ip4 | Read / Write |
char * | ip6 | Read / Write |
guint | server-port | Read / Write |
void | connect | Run Last |
gpointer | read-bytes | Run Last |
void | resolve | Run Last |
gboolean | write-bytes | Run Last |
#define | AGS_OSC_CLIENT_DEFAULT_MAX_ADDRESS_LENGTH |
#define | AGS_OSC_CLIENT_DEFAULT_SERVER_PORT |
#define | AGS_OSC_CLIENT_DEFAULT_DOMAIN |
#define | AGS_OSC_CLIENT_DEFAULT_INET4_ADDRESS |
#define | AGS_OSC_CLIENT_DEFAULT_INET6_ADDRESS |
#define | AGS_OSC_CLIENT_DEFAULT_MAX_RETRY |
#define | AGS_OSC_CLIENT_CHUNK_SIZE |
#define | AGS_OSC_CLIENT_DEFAULT_CACHE_DATA_LENGTH |
enum | AgsOscClientFlags |
#define AGS_OSC_CLIENT_GET_OBJ_MUTEX(obj) (&(((AgsOscClient *) obj)->obj_mutex))
gboolean ags_osc_client_test_flags (AgsOscClient *osc_client
,AgsOscClientFlags flags
);
Test flags
to be set on osc_client
.
Since: 3.0.0
void ags_osc_client_set_flags (AgsOscClient *osc_client
,AgsOscClientFlags flags
);
Set flags.
Since: 3.0.0
void ags_osc_client_unset_flags (AgsOscClient *osc_client
,AgsOscClientFlags flags
);
Unset flags.
Since: 3.0.0
void
ags_osc_client_resolve (AgsOscClient *osc_client
);
Resolve OSC client.
Since: 3.0.0
void
ags_osc_client_connect (AgsOscClient *osc_client
);
Connect OSC client.
Since: 3.0.0
guchar * ags_osc_client_read_bytes (AgsOscClient *osc_client
,guint *data_length
);
Read bytes.
Since: 3.0.0
gboolean ags_osc_client_write_bytes (AgsOscClient *osc_client
,guchar *data
,guint data_length
);
Write data
using OSC client.
Since: 3.0.0
AgsOscClient * ags_osc_client_new ();
Creates a new instance of AgsOscClient
Since: 3.0.0
“domain”
property “domain” char *
The domain to lookup server.
Owner: AgsOscClient
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“ip4”
property “ip4” char *
The IPv4 address as string of the server.
Owner: AgsOscClient
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“ip6”
property “ip6” char *
The IPv6 address as string of the server.
Owner: AgsOscClient
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“connect”
signalvoid user_function (AgsOscClient *osc_client, gpointer user_data)
The ::connect signal is emited as connection is establishing.
osc_client |
the AgsOscClient |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“read-bytes”
signalgpointer user_function (AgsOscClient *osc_client, gpointer data_length, gpointer user_data)
The ::read-bytes signal is emited while read bytes.
osc_client |
the AgsOscClient |
|
data_length |
the return location of byte array's length |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“resolve”
signalvoid user_function (AgsOscClient *osc_client, gpointer user_data)
The ::resolve signal is emited during resolve of domain.
osc_client |
the AgsOscClient |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“write-bytes”
signalgboolean user_function (AgsOscClient *osc_client, gpointer data, guint data_length, gpointer user_data)
The ::write-bytes signal is emited while write bytes.
osc_client |
the AgsOscClient |
|
data |
the byte array |
|
data_length |
the length of byte array |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0