Class

AgsAudioOscConnection

Description

class AgsAudio.OscConnection : GObject.Object {
  gobject: GObject,
  flags: AgsOscConnectionFlags,
  connectable_flags: AgsConnectableFlags,
  obj_mutex: GRecMutex,
  osc_server: GObject*,
  ip4: gchar*,
  ip6: gchar*,
  fd: int,
  socket: GSocket*,
  start_time: timespec*,
  cache_data: guchar*,
  cache_data_length: guint,
  buffer: guchar*,
  allocated_buffer_size: guint,
  read_count: guint,
  has_valid_data: gboolean,
  timeout_delay: timespec*,
  timestamp: timespec*
}
No description available.

Ancestors

Constructors

ags_osc_connection_new

Creates a new instance of AgsOscConnection.

since: 3.0.0

Functions

ags_osc_connection_timeout_expired

Check start_time plus timeout_delay against current time.

since: 3.0.0

Instance methods

ags_osc_connection_close

Close osc_connection.

since: 3.0.0

ags_osc_connection_read_bytes

Read bytes.

since: 3.0.0

ags_osc_connection_set_flags

Set flags.

since: 3.0.0

ags_osc_connection_test_flags

Test flags to be set on osc_connection.

since: 3.0.0

ags_osc_connection_unset_flags

Unset flags.

since: 3.0.0

ags_osc_connection_write_response

Write response.

since: 3.0.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AgsAudio.OscConnection:ip4

The IPv4 address as string of the server connection.

since: 3.0.0

AgsAudio.OscConnection:ip6

The IPv6 address as string of the server connection.

since: 3.0.0

AgsAudio.OscConnection:osc-server

The assigned AgsOscServer.

since: 3.0.0

Signals

AgsAudio.OscConnection::close

The ::close signal is emited as closing the file descriptor.

since: 3.0.0

AgsAudio.OscConnection::read-bytes

The ::read-bytes signal is emited while read bytes.

since: 3.0.0

AgsAudio.OscConnection::write-response

The ::write-response signal is emited while write response.

since: 3.0.0

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AgsAudioOscConnectionClass {
  GObjectClass gobject;
  guchar* (* read_bytes) (
    AgsOscConnection* osc_connection,
    guint* data_length
  );
  gint64 (* write_response) (
    AgsOscConnection* osc_connection,
    GObject* osc_response
  );
  void (* close) (
    AgsOscConnection* osc_connection
  );
  
}
No description available.
Class members
gobject: GObjectClass
No description available.
read_bytes: guchar* (* read_bytes) ( AgsOscConnection* osc_connection, guint* data_length )
No description available.
write_response: gint64 (* write_response) ( AgsOscConnection* osc_connection, GObject* osc_response )
No description available.
close: void (* close) ( AgsOscConnection* osc_connection )
No description available.

Virtual methods

AgsAudio.OscConnectionClass.close

Close osc_connection.

since: 3.0.0

AgsAudio.OscConnectionClass.read_bytes

Read bytes.

since: 3.0.0

AgsAudio.OscConnectionClass.write_response

Write response.

since: 3.0.0