gml_TSDResolver Class Reference

#include <gml_ServiceDiscovery.h>

Inherits gml_TSDConnection.

Collaboration diagram for gml_TSDResolver:

Collaboration graph
[legend]
List of all members.

Detailed Description

Determine the host, port and metadata of a named service.


Public Member Functions

gml_TError Init (gml_TCallback callback, gml_TPointer userData, const char *name, const char *regType, const char *domain="local.", UInt32 interfaceIndex=(UInt32) 0)
 Setup a new SD resolver.
void GetAnswer (char **fullname, char **hostname, UInt16 *port, gml_TSDMetaData **data)
 Return information about the resolved service.

Public Attributes

char fFullName [GML_MAX_HOST_LENGTH+1]
char fHostName [GML_MAX_HOST_LENGTH+1]
UInt16 fPort
gml_TSDMetaDatafMetaData

Member Function Documentation

gml_TError Init ( gml_TCallback  callback,
gml_TPointer  userData,
const char *  name,
const char *  regType,
const char *  domain = "local.",
UInt32  interfaceIndex = (UInt32) 0 
)

Setup a new SD resolver.

Parameters:
callback  function to be called when resolution completes
userData  parameter to callback
name  name of service to resolve
regType  type of service to resolve
domain  domain where to resolve
interfaceIndex  resolution interface, -1 for local only


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.