Connection
Object Hierarchy:
Description:
public class Connection : Object
Content:
Properties:
- public void* base_uri { get; set; }
- public int database_id { get; set; }
- public void* db { get; construct; }
- public double dmap_version { get; set; }
- public void* factory { get; construct; }
- public string host { owned get; construct; }
- public string name { owned get; construct; }
- public string password { set; }
- public uint port { get; construct; }
- public int revision_number { get; set; }
- public int session_id { get; set; }
- public string username { owned get; construct; }
Creation methods:
Methods:
- public bool @get (string path, bool need_hash, ResponseHandler handler)
- public void authenticate_message (Session session, Message message, Auth auth, string password)
- public virtual unowned Message build_message (string path, bool need_hash, double version, int req_id, bool send_close)
- public void connect (ConnectionCallback callback)
- public void disconnect (ConnectionCallback callback)
- public unowned MessageHeaders get_headers (string uri)
- public unowned SList get_playlists ()
- public virtual ContentCode get_protocol_version_cc ()
- public virtual unowned string get_query_metadata ()
- public virtual unowned Record handle_mlcl (RecordFactory factory, Node mlcl, int item_id)
- public bool is_connected ()
- public void setup ()
Signals:
- public virtual signal void authenticate (string name, Session p1, Message p2, Auth p3, bool p4)
- public virtual signal void connected ()
- public virtual signal void connecting (ulong state, float progress)
- public virtual signal void disconnected ()
- public virtual signal void operation_done ()
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref