Top |
Functions
#define | AGS_OSC_CONNECTION_GET_OBJ_MUTEX() |
|
ags_osc_connection_test_flags () |
|
ags_osc_connection_set_flags () |
|
ags_osc_connection_unset_flags () |
|
ags_osc_connection_timeout_expired () |
|
ags_osc_connection_read_bytes () |
|
ags_osc_connection_write_response () |
|
ags_osc_connection_close () |
AgsOscConnection * | ags_osc_connection_new () |
#define | AGS_IS_OSC_CONNECTION() |
#define | AGS_OSC_CONNECTION() |
#define | AGS_OSC_CONNECTION_CLASS() |
#define | AGS_OSC_CONNECTION_GET_CLASS() |
|
ags_osc_connection_get_type () |
Types and Values
#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_TYPE_OSC_CONNECTION |
struct | AgsOscConnection |
struct | AgsOscConnectionClass |
Functions
AGS_OSC_CONNECTION_GET_OBJ_MUTEX()
#define AGS_OSC_CONNECTION_GET_OBJ_MUTEX(obj) (&(((AgsOscConnection *) obj)->obj_mutex))
ags_osc_connection_test_flags ()
gboolean ags_osc_connection_test_flags (AgsOscConnection *osc_connection
,);
guint flags
Test flags
to be set on osc_connection
.
Since:
ags_osc_connection_set_flags ()
void ags_osc_connection_set_flags (AgsOscConnection *osc_connection
,);
guint flags
Set flags.
Since:
ags_osc_connection_unset_flags ()
void ags_osc_connection_unset_flags (AgsOscConnection *osc_connection
,);
guint flags
Unset flags.
Since:
ags_osc_connection_timeout_expired ()
gboolean ags_osc_connection_timeout_expired (struct timespec *start_time
,struct timespec *timeout_delay
);
Check start_time
plus timeout_delay
against current time.
Since:
ags_osc_connection_read_bytes ()
guchar * ags_osc_connection_read_bytes (AgsOscConnection *osc_connection
,);
guint *data_length
Read bytes.
Parameters
osc_connection |
the AgsOscConnection |
|
data_length |
the return location of byte array's length |
Since:
ags_osc_connection_write_response ()
gint64 ags_osc_connection_write_response (AgsOscConnection *osc_connection
,);
GObject *osc_response
Write response.
Since:
ags_osc_connection_close ()
void ags_osc_connection_close (AgsOscConnection *osc_connection
);
Close osc_connection
.
Since:
ags_osc_connection_new ()
AgsOscConnection *
ags_osc_connection_new (GObject *osc_server
);
Creates a new instance of AgsOscConnection
Since:
AGS_IS_OSC_CONNECTION()
#define AGS_IS_OSC_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_OSC_CONNECTION))
AGS_OSC_CONNECTION()
#define AGS_OSC_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OSC_CONNECTION, AgsOscConnection))
AGS_OSC_CONNECTION_CLASS()
#define AGS_OSC_CONNECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OSC_CONNECTION, AgsOscConnectionClass))
AGS_OSC_CONNECTION_GET_CLASS()
#define AGS_OSC_CONNECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_OSC_CONNECTION, AgsOscConnectionClass))
Types and Values
AGS_OSC_CONNECTION_DEFAULT_CACHE_DATA_LENGTH
#define AGS_OSC_CONNECTION_DEFAULT_CACHE_DATA_LENGTH (256)
Property Details
The “ip4”
property
“ip4”gchar *
The IPv4 address as string of the server connection.
Owner: AgsOscConnection
Flags: Read / Write
Default value: NULL
Since:
The “ip6”
property
“ip6”gchar *
The IPv6 address as string of the server connection.
Owner: AgsOscConnection
Flags: Read / Write
Default value: NULL
Since:
The “osc-server”
property
“osc-server” AgsOscServer *
The assigned AgsOscServer.
Owner: AgsOscConnection
Flags: Read / Write
Since:
Signal Details
The “close”
signal
void user_function (AgsOscConnection *osc_connection,gpointer user_data)
The ::close signal is emited as closing the file descriptor.
Parameters
osc_connection |
the AgsOscConnection |
|
user_data |
user data set when the signal handler was connected. |
Flags:
Since:
The “read-bytes”
signal
gpointer user_function (AgsOscConnection *osc_connection,gpointer data_length,gpointer user_data)
The ::read-bytes signal is emited while read bytes.
Parameters
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:
Since:
The “write-response”
signal
gint64 user_function (AgsOscConnection *osc_connection,GObject *osc_response,gpointer user_data)
The ::write-response signal is emited while write response.
Parameters
osc_connection |
the AgsOscConnection |
|
osc_response |
the AgsOscResponse |
|
user_data |
user data set when the signal handler was connected. |
Flags:
Since: