Top |
#define | AGS_OSC_CONNECTION_GET_OBJ_MUTEX() |
gboolean | ags_osc_connection_test_flags () |
void | ags_osc_connection_set_flags () |
void | ags_osc_connection_unset_flags () |
gboolean | ags_osc_connection_timeout_expired () |
guchar * | ags_osc_connection_read_bytes () |
gint64 | ags_osc_connection_write_response () |
void | ags_osc_connection_close () |
AgsOscConnection * | ags_osc_connection_new () |
#define | AGS_OSC_CONNECTION_TIMEOUT_USEC |
#define | AGS_OSC_CONNECTION_DEAD_LINE_USEC |
#define | AGS_OSC_CONNECTION_CHUNK_SIZE |
#define | AGS_OSC_CONNECTION_DEFAULT_CACHE_DATA_LENGTH |
enum | AgsOscConnectionFlags |
#define AGS_OSC_CONNECTION_GET_OBJ_MUTEX(obj) (&(((AgsOscConnection *) obj)->obj_mutex))
gboolean ags_osc_connection_test_flags (AgsOscConnection *osc_connection
,AgsOscConnectionFlags flags
);
Test flags
to be set on osc_connection
.
Since: 3.0.0
void ags_osc_connection_set_flags (AgsOscConnection *osc_connection
,AgsOscConnectionFlags flags
);
Set flags.
Since: 3.0.0
void ags_osc_connection_unset_flags (AgsOscConnection *osc_connection
,AgsOscConnectionFlags flags
);
Unset flags.
Since: 3.0.0
gboolean ags_osc_connection_timeout_expired (struct timespec *start_time
,struct timespec *timeout_delay
);
Check start_time
plus timeout_delay
against current time.
Since: 3.0.0
guchar * ags_osc_connection_read_bytes (AgsOscConnection *osc_connection
,guint *data_length
);
Read bytes.
osc_connection |
the AgsOscConnection |
|
data_length |
the return location of byte array's length |
Since: 3.0.0
gint64 ags_osc_connection_write_response (AgsOscConnection *osc_connection
,GObject *osc_response
);
Write response.
Since: 3.0.0
void
ags_osc_connection_close (AgsOscConnection *osc_connection
);
Close osc_connection
.
Since: 3.0.0
AgsOscConnection *
ags_osc_connection_new (GObject *osc_server
);
Creates a new instance of AgsOscConnection
Since: 3.0.0
#define AGS_OSC_CONNECTION_DEFAULT_CACHE_DATA_LENGTH (256)
“ip4”
property “ip4” char *
The IPv4 address as string of the server connection.
Owner: AgsOscConnection
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“ip6”
property “ip6” char *
The IPv6 address as string of the server connection.
Owner: AgsOscConnection
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“osc-server”
property“osc-server” AgsOscServer *
The assigned AgsOscServer.
Owner: AgsOscConnection
Flags: Read / Write
Since: 3.0.0
“close”
signalvoid user_function (AgsOscConnection *osc_connection, gpointer user_data)
The ::close signal is emited as closing the file descriptor.
osc_connection |
the AgsOscConnection |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“read-bytes”
signalgpointer user_function (AgsOscConnection *osc_connection, gpointer data_length, gpointer user_data)
The ::read-bytes signal is emited while read bytes.
osc_connection |
the AgsOscConnection |
|
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
“write-response”
signalgint64 user_function (AgsOscConnection *osc_connection, GObject *osc_response, gpointer user_data)
The ::write-response signal is emited while write response.
osc_connection |
the AgsOscConnection |
|
osc_response |
the AgsOscResponse |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0