Connection
Object Hierarchy:
Description:
Namespace: DMAP
Package: libdmapsharing-3.0
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:
- protected Connection ()
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