gml_TSDConnection Class Reference

#include <gml_ServiceDiscovery.h>

Inherited by gml_TSDBrowser, gml_TSDRegistrator, and gml_TSDResolver.

Collaboration diagram for gml_TSDConnection:

Collaboration graph
[legend]
List of all members.

Detailed Description

Encapsulate a connection to the DNS Service Discovery daemon. This class cannot be instantiated.


Public Member Functions

virtual void Dispose ()
 Terminate the SD connection.
virtual int Identity ()
 Return the ID number of this SD connection.

Static Public Member Functions

static void Delete (int id)
 Terminate a SD connection, given it's ID number.

Protected Member Functions

gml_TError Init ()
 Setup private data.
gml_TError Start (DNSServiceRef sdRef, gml_TCallback callback, gml_TPointer userData)
 Register this SD connection. Setup a watcher thread so that callback is called with parameter userData whenever a SD event occurs on sdRef.
virtual void Notify (gml_TError err=gml_cNoError)
 Execute the registered callback, with parameter err.

The documentation for this class was generated from the following files:
Generated on Tue Jun 12 14:03:28 2007 for gml by Doxygen 1.5.2.