tibasMetaspace_Connect()
Establishes a connection to a metaspace and returns a new Metaspace object.
Declaration
tibas_status tibasMetaspace_Connect (tibasMetaspace* metaspace, const char* metaspaceName, tibasMemberDef memberDef)
Remarks
Use the tibasMetaspace_Connect() function to connect to a specified metaspace and specify member and connection attributes for the connection, such as the discovery URL used to discover other members of the metaspace and the TCP port used to listen for incoming connections from new members.
Before calling tibasMetaspace_Connect(), create a MemberDef object and specify the attributes for the member definition using the tibasMemberDef functions. The memberDef parameter specifies a MemberDef struct that defines the characteristics of the connection, such as the discovery attribute and the listen attribute used for connections to the metaspace.
Copyright © Cloud Software Group, Inc. All rights reserved.