DMAPConnection
Object Hierarchy:
Description:
All known sub-classes:
Namespace: DPAP
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; }
Static methods:
- public static void authenticate_message (DMAPConnection connection, Session session, Message message, Auth auth, string password)
Attach an authentication credential to a request.
- public static void connect (DMAPConnection connection, DMAPConnectionCallback callback)
- public static void disconnect (DMAPConnection connection, DMAPConnectionCallback callback)
- public static unowned MessageHeaders get_headers (DMAPConnection connection, string uri)
- public static unowned SList get_playlists (DMAPConnection connection)
- public static bool is_connected (DMAPConnection connection)
- public static void setup (DMAPConnection connection)
Creation methods:
- protected DMAPConnection ()
Methods:
- public bool @get (string path, bool need_hash, DMAPResponseHandler handler)
- public virtual unowned Message build_message (DMAPConnection connection, string path, bool need_hash, double version, int req_id, bool send_close)
- public virtual DMAPContentCode get_protocol_version_cc (DMAPConnection connection)
- public virtual unowned string get_query_metadata (DMAPConnection connection)
- public virtual unowned DMAPRecord handle_mlcl (DMAPConnection connection, RecordFactory factory, Node mlcl, int item_id)
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