Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 6 MemberDef : MemberDef Operations : tibasMemberDef_SetDiscovery()

tibasMemberDef_SetDiscovery()
Function
Declaration
tibas_status tibasMemberDef_SetDiscovery
     (tibasMemberDef memberDef,
      const char*    discovery)
Purpose
Sets the discovery attribute of the specified MemberDef object.
Parameters
 
Remarks
Use the tibasMemberDef_SetDiscovery() function to set the discovery attribute for a specified MemberDef.
The discovery attribute specifies the discovery protocol and URL used to discover the other members of the metaspace on the network.
You can use one of the following discovery protocols:
PGM (Pragmatic General Multicast) Discovery A reliable multicast protocol based on RFC 3208 that provides ordered or unordered, duplicate-free, multicast data.
For information on the URL format for PGM, see PGM (Pragmatic General Multicast) URL format of the TIBCO ActiveSpaces Developer’s Guide.
 
TIBCO Rendezvous Discovery Discovery using TIBCO’s messaging system.
For information on the URL format for TIBCO Rendezvous discovery, see TIBCO Rendezvous Discovery URL format of the TIBCO ActiveSpaces Developer’s Guide.
TCP Discovery When usage of multicast discovery is not desirable or possible, pure TCP discovery can be used. In this case, a number of metaspace members are designated as the “well known” members of the metaspace, and all metaspace members must specify this exact same list of well known members in their discovery URL
For information on the URL format for PGM, see . of the TIBCO ActiveSpaces Developer’s Guide.
See Also
tibasMemberDef_Create(), tibasMemberDef_GetDiscovery(), tibasMemberDef_SetListen(), tibasMemberDef_GetListen()

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved