gml_TSDRegistrator Class Reference

#include <gml_ServiceDiscovery.h>

Inherits gml_TSDConnection.

Collaboration diagram for gml_TSDRegistrator:

Collaboration graph
[legend]
List of all members.

Detailed Description

Register a discoverable service.


Public Member Functions

gml_TError Init (gml_TCallback callback, gml_TPointer userData, const char *regType, UInt16 port, const char *name=(char *) NULL, UInt32 interfaceIndex=(UInt32) 0, gml_TSDMetaData *metaData=NULL)
 Setup a new registrator.
void GetAnswer (char **name, char **regtype, char **domain)
 Return the registration results. In particular, name and domain may have not been provided at Init.

Member Function Documentation

gml_TError Init ( gml_TCallback  callback,
gml_TPointer  userData,
const char *  regType,
UInt16  port,
const char *  name = (char *) NULL,
UInt32  interfaceIndex = (UInt32) 0,
gml_TSDMetaData metaData = NULL 
)

Setup a new registrator.

Parameters:
callback  function to be called when registration completes
userData  parameter to callback
regType  type of service
port  port associated with the service
name  service name (a sensible default may be chosen)
interfaceIndex  registration 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.