tibasMetaspace_GetDiscovery()

Returns the discovery URL for the metaspace connection.

Declaration

tibas_status tibasMetaspace_GetDiscovery
(tibasMetaspace metaspace,
char**         discovery)

Parameters

Parameter Description
metaspace Specifies the metaspace for which you want to return the discovery address.
discovery Returns a string in one of the supported formats for discovery.

Remarks

Use the tibasMetaspace_GetDiscovery() function to return the discovery address that is configured for a specified metaspace.

TIBCO ActiveSpaces uses three discovery protocols. Each protocol requires a different discovery URL format:

  • TCP Discovery URL format
  • PGM (Pragmatic General Multicast) URL format

    For detailed information on the discovery formats, see Discovery Attribute of the TIBCO ActiveSpaces Developer’s Guide.

    The program must not modify or free the string.