Top |
#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
,guint flags
);
Test flags
to be set on osc_connection
.
Since: 3.0.0
void ags_osc_connection_set_flags (AgsOscConnection *osc_connection
,guint flags
);
Set flags.
Since: 3.0.0
void ags_osc_connection_unset_flags (AgsOscConnection *osc_connection
,guint 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