gml_ServiceDiscovery.h File Reference


Detailed Description

Object interface to the DNSServiceDiscovery API.

Note that registered callbacks aren't passed result data; they should instead fetch it using the GetAnswer() methods of the various classes.

Classes defined: gml_TSDBrowser, gml_TSDRegistrator, gml_TSDResolver.

#include <assert.h>
#include <stdint.h>
#include "gml/base/gml_Array.h"
#include "gml/base/gml_Callback.h"
#include "gml/base/gml_Queue.h"
#include "gml/base/gml_Thread.h"

Go to the source code of this file.


Classes

struct  gml_TSDMetaDataEntry
 A field of a TXT record. More...
class  gml_TSDMetaData
 Represent a TXT record as an array of entries. More...
class  gml_TSDConnection
 Encapsulate a connection to the DNS Service Discovery daemon. This class cannot be instantiated. More...
class  gml_TSDBrowser
 Perform discovery of available network services. More...
struct  gml_TSDBrowser::Event
 Representation of browser events. More...
class  gml_TSDRegistrator
 Register a discoverable service. More...
class  gml_TSDResolver
 Determine the host, port and metadata of a named service. More...

Defines

#define GML_MAX_TXT_LENGTH   8800
#define GML_MAX_NAME_LENGTH   62
#define GML_MAX_HOST_LENGTH   256
#define GML_MAX_TYPE_LENGTH   62

Typedefs

typedef _DNSServiceRef_t * DNSServiceRef
typedef uint32_t DNSServiceFlags
typedef int32_t DNSServiceErrorType
Generated on Tue Jun 12 14:03:28 2007 for gml by Doxygen 1.5.2.