Up: Database Client: STMYSQLClient   [Contents]


B.9.1 Signals

Emitted on the notify context. Borrowed strings are valid only during the handler. store_* return whether queued; success/fail arrive via these signals.

Signal: STMYSQLClient state-changed (guint state)

Connection state changed.

state

STMYSQLClientState as guint.

Signal: STMYSQLClient connected ()

Database connection established.

Signal: STMYSQLClient disconnected ()

Database connection closed.

Signal: STMYSQLClient connection-failed (gchar *message)

Connect failed.

message

Borrowed error text.

Signal: STMYSQLClient query-failed (gchar *op, gchar *message)

A queued operation failed.

op

Borrowed operation tag.

message

Borrowed error text.

Signal: STMYSQLClient history-stored (gchar *name, gdouble value, guint64 flags)

History write completed.

name

I/O id.

value

Stored value.

flags

Stored flags.

Signal: STMYSQLClient stats-stored (gchar *service_name)

Stats write completed.

service_name

Borrowed service name.

Signal: STMYSQLClient label-stored (gchar *name, gchar *type)

Label write completed.

name

I/O id.

type

"STInput" or "STOutput".