tibasMetaspace_GetSpaceEx()

Attempts to join a space or get a reference to a currently joined space. Returns a Space object.

Declaration

tibas_status tibasMetaspace_GetSpaceEx(
    tibasMetaspace metaspace,
    tibasSpace* space,
    const char* spaceName,
    tibasSpaceMemberDef spaceMemberDef)

Parameters

Parameter Description
metaspace The TIBCO ActiveSpaces entity on which the function is invoked.
space The returned Space object.
spaceName The name of the space to join
spaceMemberDef Specifies a SpaceMemberDef object to specify optional parameters.

Remarks

Use the tibasMetaspace_GetSpaceEx() function to join a space and specify connection attributes for the space member.

The function accepts a SpaceMemberDef object that you can use to specify whether the space member is a seeder or a leech, and if you are implementing shared-nothing persistence, to specify a directory where persisted data is stored.