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


Chapter 2 Metaspace : Metaspace Operations : tibasMetaspace_Listen()

tibasMetaspace_Listen()
Function
Declaration
tibas_status tibasMetaspace_Listen
(tibasMetaspace   metaspace,
const char*       spaceName,
tibasListener     listener,
tibasListenerDef  listenerDef,
const char*       filter)
Purpose
Attaches a listener to a space for receiving space events.
Parameters
 
Remarks
Use the tibasMetaspace_Listen() function to attach a listener to a specified space in a specified metaspace. You do not have to be joined to the space to call the function.
Before you can attach a listener to a space, there must be:
Specify this object with the listener parameter.
Specify this object with the listenerDef parameter.
Calling tibasMetaspace_Listen() may cause the space to be automatically joined with a distribution role of TIBAS_DISTRIBUTION_ROLE_LEECH if not already joined.
Prior to calling tibasMetaspace_Listen(), you must create a tibasListenerDef object by calling the tibasListenerDef_Create() function or the tibasListenerDef_CreateEx() function and specify the attributes of the listener, such as the time scope and distribution scope for the listener.
See Also
tibasListener_Create(), tibasListenerDef_Create(), tibasListenerDef_CreateEx(), tibasListenerDef_SetTimeScope(), tibasListenerDef_SetDistributionScope(), tibasSpace_Listen()

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